summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-26 08:49:28 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-26 08:49:28 -0300
commitaceb002a33dcd5c2bb852e28d4f0de76c7cfced5 (patch)
tree6d5b089c433e2d258dacc396f92973fe57cc4f62
parent6cb1f1a250a58614bbdd2e26f9fa3ca3cf62a9f5 (diff)
downloadsubsurface-aceb002a33dcd5c2bb852e28d4f0de76c7cfced5.tar.gz
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>
-rw-r--r--qt-ui/diveplanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 5a8f7d62d..c6f9e23d6 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -137,7 +137,7 @@ DivePlannerGraphics::DivePlannerGraphics(QWidget* parent): QGraphicsView(parent)
// Prepare the stuff for the gas-choices.
gasChoices = new QStringListModel(QStringList() << tr("AIR") << tr("EAN32") << tr("EAN36"));
gasListView = new QListView();
- gasListView->setWindowFlags(Qt::FramelessWindowHint);
+ gasListView->setWindowFlags(Qt::Popup);
gasListView->setModel(gasChoices);
gasListView->hide();