projects
/
ptas
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes: fixed buttons and table
[ptas]
/
zouba
/
gpscontroller.cpp
diff --git
a/zouba/gpscontroller.cpp
b/zouba/gpscontroller.cpp
index
618746a
..
61fbdbc
100644
(file)
--- a/
zouba/gpscontroller.cpp
+++ b/
zouba/gpscontroller.cpp
@@
-7,13
+7,6
@@
QTM_USE_NAMESPACE
QTM_USE_NAMESPACE
-GpsController::~GpsController()
-{
- qDebug() << __PRETTY_FUNCTION__;
- delete m_location;
- m_location = 0;
-}
-
GpsController::GpsController() :
m_location( QGeoPositionInfoSource::createDefaultSource(this) )
{
GpsController::GpsController() :
m_location( QGeoPositionInfoSource::createDefaultSource(this) )
{
@@
-28,6
+21,13
@@
GpsController::GpsController() :
m_location->stopUpdates();
}
m_location->stopUpdates();
}
+GpsController::~GpsController()
+{
+ qDebug() << __PRETTY_FUNCTION__;
+ delete m_location;
+ m_location = 0;
+}
+
void GpsController::updateLocation( QGeoPositionInfo positionInfo )
{
qDebug() << __PRETTY_FUNCTION__;
void GpsController::updateLocation( QGeoPositionInfo positionInfo )
{
qDebug() << __PRETTY_FUNCTION__;