summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Klinger2016-09-27 15:48:43 +0200
committerChristian Klinger2016-09-27 15:59:34 +0200
commitaa3eecd70abd8aecf5f1ff027f55f3106b20ed66 (patch)
tree43e9b788c846790b9f0256db7b042988498de20a
parentImplemented 'majority vote' to determine the toolbar options. (diff)
parentclients in exam-mode no longer send a screenshot. Also some refactoring. (diff)
downloadpvs2-aa3eecd70abd8aecf5f1ff027f55f3106b20ed66.tar.gz
pvs2-aa3eecd70abd8aecf5f1ff027f55f3106b20ed66.tar.xz
pvs2-aa3eecd70abd8aecf5f1ff027f55f3106b20ed66.zip
.
-rw-r--r--src/client/clientapp/clientapp.cpp1
-rw-r--r--src/client/net/serverconnection.cpp1
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);