From d4969ff35ff80aee9a90ad855a08561a386ea11d Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Wed, 7 May 2014 16:58:47 +0200 Subject: Setting right pixmap after stopping vnc server on client. --- src/client/connectwindow/connectwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/client/connectwindow/connectwindow.cpp') diff --git a/src/client/connectwindow/connectwindow.cpp b/src/client/connectwindow/connectwindow.cpp index 365f327..0a09b0e 100644 --- a/src/client/connectwindow/connectwindow.cpp +++ b/src/client/connectwindow/connectwindow.cpp @@ -83,6 +83,7 @@ void ConnectWindow::setState(const ConnectionState state) /** * Handle changes in state and update window. + * Also changing TextLabel which shows the user what the program is doing. */ void ConnectWindow::updateState() { @@ -204,7 +205,7 @@ void ConnectWindow::timerEvent(QTimerEvent* event) } /** - * Close Event e and hide window. + * Handle incoming closeEvent and hide window. * @param e */ void ConnectWindow::closeEvent(QCloseEvent *e) @@ -336,7 +337,7 @@ void ConnectWindow::onConnectionStateChange(ConnectWindow::ConnectionState state } /** - * Set _connection = NULL. + * If connection is closed set _connection = NULL. * @param connection */ void ConnectWindow::onConnectionClosed(QObject* connection) -- cgit v1.2.3-55-g7522