From bf4c1798ae304d973c10b38577648319f2926e3b Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Mon, 26 May 2014 21:07:07 +0200 Subject: Make tutor check implicit in lock screen --- src/server/mainwindow/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/mainwindow/mainwindow.cpp') diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index 26508d2..3bdf0e6 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -654,7 +654,7 @@ void MainWindow::onButtonLock(bool checked) && (*it)->client()->ip() == address.toString()) isManagerMachine = true; - if ((*it)->client() == NULL || (*it)->isTutor() || isManagerMachine) + if ((*it)->client() == NULL || isManagerMachine) continue; // Don't lock the tutor or the manager running machine. (*it)->client()->lockScreen(checked); } -- cgit v1.2.3-55-g7522