Merge branch 'image_fetcher'
authorlampehe-local <henri.lampela@ixonos.com>
Thu, 29 Apr 2010 09:52:14 +0000 (12:52 +0300)
committerlampehe-local <henri.lampela@ixonos.com>
Thu, 29 Apr 2010 09:52:14 +0000 (12:52 +0300)
Conflicts:
src/ui/updatelocation/updatelocationdialog.cpp
src/ui/updatelocation/updatelocationdialog.h

1  2 
src/src.pro
src/ui/listviewscreen.cpp
src/ui/mainwindow.cpp
src/ui/mainwindow.h
src/ui/updatelocation/updatelocationdialog.cpp
src/ui/updatelocation/updatelocationdialog.h

diff --cc src/src.pro
Simple merge
Simple merge
  #include "mainwindow.h"
  #include "listviewscreen.h"
  #include "mapviewscreen.h"
 +#include "settingsdialog.h"
  #include "facebookservice/facebookauthentication.h"
  #include "situareservice/situareservice.h"
- #include "engine/engine.h"
  
  MainWindow::MainWindow(QWidget *parent)
      : QMainWindow(parent)
@@@ -130,14 -116,7 +123,16 @@@ void MainWindow::switchView(int nextInd
  void MainWindow::openLocationUpdateDialog()
  {
      qDebug() << __PRETTY_FUNCTION__;
+     emit requestReverseGeo();
      m_locationDialog->exec();
  }
 +
 +void MainWindow::openSettingsDialog()
 +{
 +    qDebug() << __PRETTY_FUNCTION__;
 +    SettingsDialog *dialog = new SettingsDialog(this);
 +    dialog->show();
 +}
 +
 +
@@@ -112,10 -140,7 +145,8 @@@ private
      QStackedWidget *m_situareViews; ///< Stacked widget that hold both view widgets
      QAction *m_toListViewAct; ///< Action to trigger switch to list view
      QAction *m_toMapViewAct; ///< Action to trigger switch to map view
 +    QAction *m_toSettingsAct; ///< Action to trigger switch to settings dialog
      QMenu *m_viewMenu; ///< Object that hold the view menu items
-     UpdateLocationDialog *m_locationDialog; ///< Message dialog
  };
  
  #endif // MAINWINDOW_H