diff options
author | Christian Klinger | 2016-09-27 15:48:43 +0200 |
---|---|---|
committer | Christian Klinger | 2016-09-27 15:59:34 +0200 |
commit | aa3eecd70abd8aecf5f1ff027f55f3106b20ed66 (patch) | |
tree | 43e9b788c846790b9f0256db7b042988498de20a /src | |
parent | Implemented 'majority vote' to determine the toolbar options. (diff) | |
parent | clients in exam-mode no longer send a screenshot. Also some refactoring. (diff) | |
download | pvs2-aa3eecd70abd8aecf5f1ff027f55f3106b20ed66.tar.gz pvs2-aa3eecd70abd8aecf5f1ff027f55f3106b20ed66.tar.xz pvs2-aa3eecd70abd8aecf5f1ff027f55f3106b20ed66.zip |
.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/clientapp/clientapp.cpp | 1 | ||||
-rw-r--r-- | src/client/net/serverconnection.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/client/clientapp/clientapp.cpp b/src/client/clientapp/clientapp.cpp index f177d44..ce0b5f3 100644 --- a/src/client/clientapp/clientapp.cpp +++ b/src/client/clientapp/clientapp.cpp @@ -32,7 +32,6 @@ ClientApp::ClientApp(int& argc, char** argv) : QApplication(argc, argv), _connec void ClientApp::parseParameters() { for (QString a : arguments()) { if (a == "--exam-mode") { - qDebug() << "setting exam-mode to true"; _examMode = true; } else if (a == "--auto") { _connectionMode = ConnectionMode::Auto; diff --git a/src/client/net/serverconnection.cpp b/src/client/net/serverconnection.cpp index 418e13c..f4a6fd6 100644 --- a/src/client/net/serverconnection.cpp +++ b/src/client/net/serverconnection.cpp @@ -185,7 +185,6 @@ void ServerConnection::handleMsg() if (id == _THUMB) { if (clientApp->isExamMode()) { - /* but we still have to send a message, to reset the timeout timer of the server */ QByteArray emptyArray; _toServer.setField(_ID, _THUMB); _toServer.setField(_IMG, emptyArray); |