From 2901c98efeeb659a35d5df659d1d1208ae8ba69d Mon Sep 17 00:00:00 2001 From: Christian Pulvermacher Date: Sat, 4 Feb 2012 14:48:25 +0100 Subject: [PATCH] correctly leave fullscreen mode when connection is lost --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index cd0b58f..4736c5f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -271,7 +271,7 @@ void MainWindow::statusChanged(RemoteView::RemoteStatus status) //exit fullscreen mode if(windowState() & Qt::WindowFullScreen) - setWindowState(windowState() ^ Qt::WindowFullScreen); + toggleFullscreen(); break; case RemoteView::Disconnected: #ifdef Q_WS_MAEMO_5 -- 1.7.9.5