diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 14:27:39 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 19:27:03 -0700 |
commit | f871b8dfac8d8afffdeed0efa64e74c29299b193 (patch) | |
tree | 4952f4cd5219986eb6d419325c2532bd20c1c33b /desktop-widgets/subsurfacewebservices.cpp | |
parent | 484a50b6a817df60ab1650cf0739ade3a4928353 (diff) | |
download | subsurface-f871b8dfac8d8afffdeed0efa64e74c29299b193.tar.gz |
cleanup: fix deprecated QFlags use
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 0ca2974b6..af171e3ba 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -39,7 +39,7 @@ #define PATH_MAX 4096 #endif -WebServices::WebServices(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f), reply(0) +WebServices::WebServices(QWidget *parent) : QDialog(parent, QFlag(0)), reply(0) { ui.setupUi(this); connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(buttonClicked(QAbstractButton *))); @@ -252,7 +252,7 @@ void DivelogsDeWebServices::prepareDivesForUpload(bool selected) exec(); } -DivelogsDeWebServices::DivelogsDeWebServices(QWidget *parent, Qt::WindowFlags f) : WebServices(parent, f), +DivelogsDeWebServices::DivelogsDeWebServices(QWidget *parent) : WebServices(parent), uploadMode(false) { // should DivelogDE user and pass be stored in the prefs struct or something? |