Fixed a mysterious login error that occured on some machines
[situare] / src / engine / engine.cpp
index 1a6d116..0ebc402 100644 (file)
@@ -74,9 +74,12 @@ SituareEngine::SituareEngine(QMainWindow *parent)
     connect(m_ui, SIGNAL(refreshUserData()),
             this, SLOT(refreshUserData()));
 
-    connect(m_gps, SIGNAL(timeout()), m_ui, SLOT(gpsTimeout()));
-    connect(m_gps, SIGNAL(error(QString)), m_ui, SLOT(gpsError(QString)));
-    connect(m_ui, SIGNAL(enableGPS(bool)), this, SLOT(enableGPS(bool)));
+    connect(m_gps, SIGNAL(timeout()),
+            m_ui, SLOT(gpsTimeout()));
+    connect(m_gps, SIGNAL(error(QString)),
+            m_ui, SLOT(gpsError(QString)));
+    connect(m_ui, SIGNAL(enableGPS(bool)),
+            this, SLOT(enableGPS(bool)));
     connect(m_gps, SIGNAL(position(QPointF)),
             m_ui, SIGNAL(positionReceived(QPointF)));