mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue