mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: fix deprecated QFlags use
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
484a50b6a8
commit
f871b8dfac
12 changed files with 18 additions and 18 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue