From aceb002a33dcd5c2bb852e28d4f0de76c7cfced5 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 26 Aug 2013 08:49:28 -0300 Subject: 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 --- qt-ui/diveplanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3-70-g09d2