summaryrefslogtreecommitdiffstats
path: root/client/application.cpp
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-18 14:43:06 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-18 14:43:06 +0200
commitdf6df8e58720b7cc4ef41b73a09abd1577556407 (patch)
treed46e3db2553110d8df751be6551873faac716719 /client/application.cpp
parentbbc079955a078fa80cd5fb6a398c50f031ca383b (diff)
downloadspice-df6df8e58720b7cc4ef41b73a09abd1577556407.tar.gz
spice-df6df8e58720b7cc4ef41b73a09abd1577556407.tar.xz
spice-df6df8e58720b7cc4ef41b73a09abd1577556407.zip
Make the gui use Application::hide_gui rather then hide_me
Now that Application::hide_me actually does what the name suggests (hide the entire client, ie all client windows), the gui using it to not show the gui layer leads to the entire client disappearing when one presses close in the GUI or dismisses a GUI dialog. This patch makes the GUI code call hide_gui instead of hide_me, fixing this.
Diffstat (limited to 'client/application.cpp')
-rw-r--r--client/application.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/application.cpp b/client/application.cpp
index 15916f74..212b20ef 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -1786,8 +1786,6 @@ void Application::show_me(bool full_screen)
void Application::hide_me()
{
-// hide_gui();
-// FIXME: this instead?
if (_full_screen) {
exit_full_screen();
}