From 9075922f42fb9a7c4209c96e21b9f9f7ab9c2bbd Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 30 Oct 2013 22:39:52 +0000 Subject: 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 --- ui/qt/qt_ui_utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'ui/qt/qt_ui_utils.h') 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 */ -- cgit v1.2.1