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-10-06 02:21:42 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:17 +0300
commit73514ad96266688611f94183fcdad1e13c9ffc26 (patch)
treedb894f09e0215978d24eae596bfb87ee9db2b497 /qt/mainwindow.cpp
parentacf087de92592a27fa01c03ccf876747808dd544 (diff)
Removed unused code
Diffstat (limited to 'qt/mainwindow.cpp')
-rw-r--r--qt/mainwindow.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index e46355bf40..1afa271fc9 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -338,13 +338,8 @@ void MainWindow::OnSearchButtonClicked()
void MainWindow::OnPreferences()
{
- bool autoUpdatesEnabled = DEFAULT_AUTO_UPDATES_ENABLED;
- Settings::Get("AutomaticUpdateCheck", autoUpdatesEnabled);
-
- PreferencesDialog dlg(this, autoUpdatesEnabled);
+ PreferencesDialog dlg(this);
dlg.exec();
-
- Settings::Set("AutomaticUpdateCheck", autoUpdatesEnabled);
}
#ifndef NO_DOWNLOADER