summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Marcos CARDINOT <mcardinot@gmail.com>2015-03-25 02:41:38 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-25 02:27:53 -0700
commit0bf61844e7f926d39f369a0323d5f5e775368d55 (patch)
tree9023cc953623917b8ed13ce1cfa96900aefeb18e
parentdc32d447c34df55064904aa414f8c82e795e3870 (diff)
downloadsubsurface-0bf61844e7f926d39f369a0323d5f5e775368d55.tar.gz
DivelogsDeWebServices::multipart - initializes member
Non-static class member multipart is not initialized in the constructor Signed-off-by: Marcos CARDINOT <mcardinot@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/subsurfacewebservices.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index fcb565f34..99ec50910 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -680,7 +680,9 @@ void DivelogsDeWebServices::uploadDives(QIODevice *dldContent)
}
}
-DivelogsDeWebServices::DivelogsDeWebServices(QWidget *parent, Qt::WindowFlags f) : WebServices(parent, f), uploadMode(false)
+DivelogsDeWebServices::DivelogsDeWebServices(QWidget *parent, Qt::WindowFlags f) : WebServices(parent, f),
+ multipart(NULL),
+ uploadMode(false)
{
QSettings s;
ui.userID->setText(s.value("divelogde_user").toString());