X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwindow.cpp;h=b63faa1a3fafc33856ef947d9d8c7cd984e447b7;hb=c875ed064e09637cc0ad3328162a220e939d2b54;hp=46737d4073132f0d7a0355c1a0a6c6c93c4b724d;hpb=0cd99db0327c3997409195971c1595e265143ab8;p=presencevnc diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 46737d4..b63faa1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -119,7 +119,10 @@ MainWindow::MainWindow(QString url, int quality): this, SLOT(updateScreenSpaceDelayed())); setCentralWidget(scroll_area); - new FullScreenExitButton(this); + + FullScreenExitButton* fullscreen_exit_button = new FullScreenExitButton(this); + connect(fullscreen_exit_button, SIGNAL(clicked()), + this, SLOT(toggleFullscreen())); grabZoomKeys(true); reloadSettings();