mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
globe.cpp improvements
* Add missing variable members to the initializer lists. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
18207c9189
commit
e88c198b93
1 changed files with 6 additions and 3 deletions
|
@ -24,7 +24,12 @@
|
|||
#include <QMouseEvent>
|
||||
#include <QMessageBox>
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue