diff options
author | vng <viktor.govako@gmail.com> | 2012-05-26 18:08:08 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:15 +0300 |
commit | c71f4daa84b62e0a9b30576ac1330d5cb3820d84 (patch) | |
tree | 99402a74aac2b7eae3865c8ecdec7e32a13f2a13 /qt/mainwindow.hpp | |
parent | df50c805aebc97a77b32b5189812d17aa45f7f25 (diff) |
[desktop] Fix crash on shutdown. Create and destroy UpdateDialog on demand.
Diffstat (limited to 'qt/mainwindow.hpp')
-rw-r--r-- | qt/mainwindow.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/qt/mainwindow.hpp b/qt/mainwindow.hpp index 38f9511b15..9ff7d65048 100644 --- a/qt/mainwindow.hpp +++ b/qt/mainwindow.hpp @@ -6,6 +6,7 @@ #include <QtGui/QMainWindow> + class QDockWidget; namespace search { class Result; } @@ -13,7 +14,6 @@ namespace search { class Result; } namespace qt { class DrawWidget; - class UpdateDialog; class MainWindow : public QMainWindow, location::LocationObserver { @@ -23,10 +23,6 @@ namespace qt QDockWidget * m_Docks[3]; -#ifndef NO_DOWNLOADER - UpdateDialog * m_updateDialog; -#endif // NO_DOWNLOADER - scoped_ptr<location::LocationService> m_locationService; Q_OBJECT @@ -66,6 +62,7 @@ namespace qt void ShowClassifPanel(); void ShowGuidePanel(); #endif // NO_DOWNLOADER + void OnPreferences(); void OnAbout(); void OnMyPosition(); |