From e88c198b93f5b57ef4dbd348ef2975d2c866785e Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Sun, 9 Feb 2014 19:41:47 +0100 Subject: globe.cpp improvements * Add missing variable members to the initializer lists. Signed-off-by: Boris Barbulovski Signed-off-by: Dirk Hohndel --- qt-ui/globe.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 2aed8d4a1..b3dcc0485 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -24,7 +24,12 @@ #include #include -GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0), editingDiveLocation(false) +GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), + loadedDives(0), + messageWidget(new KMessageWidget(this)), + fixZoomTimer(new QTimer(this)), + currentZoomLevel(0), + editingDiveLocation(false) { // check if Google Sat Maps are installed // if not, check if they are in a known location @@ -42,7 +47,6 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0), edit MarbleDirs::setMarbleDataPath(subsurfaceDataPath); } } - messageWidget = new KMessageWidget(this); messageWidget->setCloseButtonVisible(false); messageWidget->setHidden(true); @@ -68,7 +72,6 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0), edit setMinimumHeight(0); setMinimumWidth(0); - fixZoomTimer = new QTimer(this); connect(fixZoomTimer, SIGNAL(timeout()), this, SLOT(fixZoom())); fixZoomTimer->setSingleShot(true); installEventFilter(this); -- cgit v1.2.3-70-g09d2