m_ui = new MainWindow;
m_ui->updateItemVisibility();
- /// @todo m_app data member is not required
- m_app = static_cast<Application *>(qApp);
- m_app->registerWindow(m_ui->winId());
+ Application *application = static_cast<Application *>(qApp);
+ application->registerWindow(m_ui->winId());
- connect(m_app, SIGNAL(topmostWindowChanged(bool)),
+ connect(application, SIGNAL(topmostWindowChanged(bool)),
this, SLOT(topmostWindowChanged(bool)));
m_networkAccessManager = new NetworkAccessManager(this);
QTimer *m_automaticUpdateIntervalTimer; ///< Automatic update interval timer
- Application *m_app; ///< Pointer to Application
FacebookAuthentication *m_facebookAuthenticator; ///< Instance for facebook authenticator
GeocodingService *m_geocodingService; ///< Instance of the geocoding service
GeoCoordinate m_lastUpdatedGPSPosition; ///< Last updated GPS position