Changed the WindowHint of the planner popup to 'Popup'
Changed the Window Hint of the planner popup to 'Popup' this removes ghost items from the task bar. Hint By: Danilo Cesar Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
6cb1f1a250
commit
aceb002a33
@ -137,7 +137,7 @@ DivePlannerGraphics::DivePlannerGraphics(QWidget* parent): QGraphicsView(parent)
|
|||||||
// Prepare the stuff for the gas-choices.
|
// Prepare the stuff for the gas-choices.
|
||||||
gasChoices = new QStringListModel(QStringList() << tr("AIR") << tr("EAN32") << tr("EAN36"));
|
gasChoices = new QStringListModel(QStringList() << tr("AIR") << tr("EAN32") << tr("EAN36"));
|
||||||
gasListView = new QListView();
|
gasListView = new QListView();
|
||||||
gasListView->setWindowFlags(Qt::FramelessWindowHint);
|
gasListView->setWindowFlags(Qt::Popup);
|
||||||
gasListView->setModel(gasChoices);
|
gasListView->setModel(gasChoices);
|
||||||
gasListView->hide();
|
gasListView->hide();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user