diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2014-02-09 18:27:48 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-09 14:42:06 -0800 |
commit | 76203abcb8b78a9a1ac457dba1c9ac046224d734 (patch) | |
tree | f9aff95024f251ba72c8b4ff5300d4f2620d7947 | |
parent | bbac1438cf4cc79c83940b4ae38cf442455404d5 (diff) | |
download | subsurface-76203abcb8b78a9a1ac457dba1c9ac046224d734.tar.gz |
DivelogsDeWebServices class cleanup
* Initialize DivelogsDeWebServices::uploadMode in initialize list, instead
of constructor body expression.
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 80d064d6f..918cf53f3 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -617,9 +617,8 @@ void DivelogsDeWebServices::uploadDives(QIODevice *dldContent) } } -DivelogsDeWebServices::DivelogsDeWebServices(QWidget* parent, Qt::WindowFlags f): WebServices(parent, f) +DivelogsDeWebServices::DivelogsDeWebServices(QWidget* parent, Qt::WindowFlags f) : WebServices(parent, f), uploadMode(false) { - uploadMode = false; QSettings s; ui.userID->setText(s.value("divelogde_user").toString()); ui.password->setText(s.value("divelogde_pass").toString()); |