Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-11-09 14:33:29 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:21 +0300
commit46c7ff712526c6fd98ff14fcadd76656d668297e (patch)
treec9247f1974de2e4c4fe3fef6a32195d054efd332 /qt/mainwindow.cpp
parent8b936cc3776d7ffac097e93dba674600a00361da (diff)
Refactored storage - removed some unnecessary dependencies
Diffstat (limited to 'qt/mainwindow.cpp')
-rw-r--r--qt/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index 5fbebd77cf..cb73d15e39 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -42,7 +42,7 @@ MainWindow::MainWindow()
: m_updateDialog(0)
#endif // NO_DOWNLOADER
{
- m_pDrawWidget = new DrawWidget(this, m_storage);
+ m_pDrawWidget = new DrawWidget(this);
m_locationService.reset(CreateDesktopLocationService(*this));
CreateNavigationBar();
@@ -368,7 +368,7 @@ void MainWindow::OnPreferences()
void MainWindow::ShowUpdateDialog()
{
if (!m_updateDialog)
- m_updateDialog = new UpdateDialog(this, m_storage);
+ m_updateDialog = new UpdateDialog(this, m_pDrawWidget->GetFramework().Storage());
m_updateDialog->ShowDialog();
}