+ connect(m_facebookAuthenticator, SIGNAL(newLoginRequest(QUrl)),
+ m_ui, SLOT(startLoginProcess(QUrl)));
+ connect(m_ui, SIGNAL(updateCredentials(QUrl)),
+ m_facebookAuthenticator, SLOT(updateCredentials(QUrl)));
+ connect(m_facebookAuthenticator, SIGNAL(loginFailure()),
+ m_ui, SLOT(loginFailed()));
+
+ QSettings settings(DIRECTORY_NAME, FILE_NAME);
+ QVariant gpsEnabled = settings.value(GPS_ENABLED);
+ QVariant autoCenteringEnabled = settings.value(AUTO_CENTERING_ENABLED);
+
+ enableGPS(gpsEnabled.toBool());
+ enableAutoCentering(autoCenteringEnabled.toBool());
+