Fixed situare settings related misbehaviour when GPS is disabled
authorlampehe-local <henri.lampela@ixonos.com>
Mon, 14 Jun 2010 09:48:13 +0000 (12:48 +0300)
committerlampehe-local <henri.lampela@ixonos.com>
Mon, 14 Jun 2010 09:48:13 +0000 (12:48 +0300)
Reviewed by: Kaj Wallin

src/ui/mainwindow.cpp

index 600f068..6a13e42 100644 (file)
@@ -700,7 +700,7 @@ void MainWindow::openSettingsDialog()
     qDebug() << __PRETTY_FUNCTION__;
 
     SettingsDialog *settingsDialog = new SettingsDialog(this);
-    settingsDialog->enableSituareSettings(m_loggedIn);
+    settingsDialog->enableSituareSettings((m_loggedIn && m_gpsToggleAct->isChecked()));
     connect(settingsDialog, SIGNAL(accepted()), this, SLOT(settingsDialogAccepted()));
 
     settingsDialog->show();