diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-10-30 22:39:52 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-10-30 22:39:52 +0000 |
commit | 9075922f42fb9a7c4209c96e21b9f9f7ab9c2bbd (patch) | |
tree | ba7b5e2109ca3bff1f169876f51857fa321480e7 /ui/qt/qt_ui_utils.h | |
parent | b84fee4fc7b96b9ccc39c1ce91fb553c7913da8d (diff) | |
download | wireshark-9075922f42fb9a7c4209c96e21b9f9f7ab9c2bbd.tar.gz |
Add initial support for geometry settings in the main window.
In the current Qt startup sequence the main window + splash screen is
displayed before the main preferences are loaded which means we can't
immediately apply the correct geometry. For now, use an animation to
morph from the default to the saved geometry after the prefs are loaded.
Get rid of main_do_quit() (Qt) and main_window_exit() (Qt+GTK). It looks
like they were unused.
Add wsApp->isInitialized() and use it to see if we should exit() when
the main window is closed. Otherwise we won't shut the application down
and clean up properly.
svn path=/trunk/; revision=52988
Diffstat (limited to 'ui/qt/qt_ui_utils.h')
-rw-r--r-- | ui/qt/qt_ui_utils.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/qt_ui_utils.h b/ui/qt/qt_ui_utils.h index 2d049cfd95..d307a61fdd 100644 --- a/ui/qt/qt_ui_utils.h +++ b/ui/qt/qt_ui_utils.h @@ -68,8 +68,6 @@ struct remote_host_t { gboolean nocap_local; }; -extern gboolean main_do_quit(void); - #ifdef __cplusplus } #endif /* __cplusplus */ |