diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-10-06 02:21:42 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:25:17 +0300 |
commit | 73514ad96266688611f94183fcdad1e13c9ffc26 (patch) | |
tree | db894f09e0215978d24eae596bfb87ee9db2b497 /qt/mainwindow.cpp | |
parent | acf087de92592a27fa01c03ccf876747808dd544 (diff) |
Removed unused code
Diffstat (limited to 'qt/mainwindow.cpp')
-rw-r--r-- | qt/mainwindow.cpp | 7 |
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 |