Merge branch 'master' into fb_auth_window_removal
authorlampehe-local <henri.lampela@ixonos.com>
Wed, 12 May 2010 12:53:04 +0000 (15:53 +0300)
committerlampehe-local <henri.lampela@ixonos.com>
Wed, 12 May 2010 12:53:04 +0000 (15:53 +0300)
Conflicts:
src/ui/mainwindow.cpp

1  2 
src/ui/mainwindow.cpp

@@@ -91,23 -80,20 +91,20 @@@ void MainWindow::createMenus(
  
      m_toSettingsAct = new QAction(tr("Settings"), this);
      m_toSettingsAct->setObjectName(tr("Settings"));
-     connect(m_toSettingsAct, SIGNAL(triggered()),
-             this, SLOT(openSettingsDialog()));
-     m_gpsToggleAct = new QAction(tr("GPS enabled"), this);
+     connect(m_toSettingsAct, SIGNAL(triggered()), this, SLOT(openSettingsDialog()));
 -        m_gpsToggleAct = new QAction(tr("GPS"), this);
++    m_gpsToggleAct = new QAction(tr("GPS"), this);
      m_gpsToggleAct->setCheckable(true);
      m_gpsToggleAct->setChecked(true);
-     connect(m_gpsToggleAct, SIGNAL(toggled(bool)),
-             this, SLOT(gpsActionToggled(bool)));
-     m_autoCenteringAct = new QAction(tr("Auto centering enabled"), this);
+     connect(m_gpsToggleAct, SIGNAL(toggled(bool)), this, SLOT(gpsActionToggled(bool)));
+     m_autoCenteringAct = new QAction(tr("Auto centering"), this);
      m_autoCenteringAct->setCheckable(true);
      m_autoCenteringAct->setChecked(true);
-     connect(m_autoCenteringAct, SIGNAL(toggled(bool)),
-             this, SLOT(autoCenteringToggled(bool)));
+     connect(m_autoCenteringAct, SIGNAL(toggled(bool)), this, SLOT(autoCenteringToggled(bool)));    
        
-     m_viewMenu = menuBar()->addMenu(tr("Main"));
+       m_viewMenu = menuBar()->addMenu(tr("Main"));
  
      m_viewMenu->addAction(m_toSettingsAct);
-     m_viewMenu->addAction(m_gpsToggleAct);
+       m_viewMenu->addAction(m_gpsToggleAct);
      m_viewMenu->addAction(m_autoCenteringAct);
      m_viewMenu->setObjectName(tr("Menu"));
  }