summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorBjörn Hagemeister2014-07-30 16:18:47 +0200
committerBjörn Hagemeister2014-07-30 16:18:47 +0200
commitf3b457144940f39c0977f68c6ce546de01d0ca76 (patch)
treed095c58efac841894fdf34be5144912e5c5472b8 /src/server/mainwindow/mainwindow.cpp
parentAdded user warning before second or more change of sessionName. (diff)
downloadpvs2-f3b457144940f39c0977f68c6ce546de01d0ca76.tar.gz
pvs2-f3b457144940f39c0977f68c6ce546de01d0ca76.tar.xz
pvs2-f3b457144940f39c0977f68c6ce546de01d0ca76.zip
Fixed unintended bug from yesterday.
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 51da124..49ffc00 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -212,7 +212,7 @@ ConnectionFrame* MainWindow::createFrame()
_clientFrames.append(cf);
cf->show();
connect(cf, SIGNAL(frameMoved(bool, ConnectionFrame *)), this, SLOT(onPlaceFrame(bool, ConnectionFrame *)));
- connect(cf, SIGNAL(clicked(bool, ConnectionFrame *)), this, SLOT(onFrameClicked(ConnectionFrame *)));
+ connect(cf, SIGNAL(clicked(ConnectionFrame *)), this, SLOT(onFrameClicked(ConnectionFrame *)));
return cf;
}
@@ -1015,6 +1015,7 @@ void MainWindow::onClientAuthenticated(Client* client)
// Clients ip already exists, but was not active.
if (existing != NULL)
{
+ qDebug() << "Should go into this if clause.";
existing->setTutor(isTutor);
existing->assignClient(client);
tellClientCurrentSituation(client);