From f871b8dfac8d8afffdeed0efa64e74c29299b193 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 25 Oct 2020 14:27:39 -0700 Subject: cleanup: fix deprecated QFlags use Signed-off-by: Dirk Hohndel --- desktop-widgets/diveplanner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop-widgets/diveplanner.cpp') diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index 00aaffdac..3e63e5ffe 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -107,7 +107,7 @@ void DiveHandler::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) emit released(); } -DivePlannerWidget::DivePlannerWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f) +DivePlannerWidget::DivePlannerWidget(QWidget *parent) : QWidget(parent, QFlag(0)) { DivePlannerPointsModel *plannerModel = DivePlannerPointsModel::instance(); CylindersModel *cylinders = DivePlannerPointsModel::instance()->cylindersModel(); @@ -214,7 +214,7 @@ void DivePlannerWidget::setSalinity(int salinity) break; } } - + if (!mapped) { /* Assign to last element "custom" in combo box */ ui.waterType->setItemData(ui.waterType->count()-1, salinity); @@ -425,7 +425,7 @@ void DivePlannerWidget::printDecoPlan() MainWindow::instance()->printPlan(); } -PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f) +PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent) : QWidget(parent, QFlag(0)) { ui.setupUi(this); -- cgit v1.2.3-70-g09d2