diff options
author | Simon Rettberg | 2018-07-18 15:20:17 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-07-18 15:20:17 +0200 |
commit | 4a9499bbe5e6f3e95066ab2e6b98e1a58500010a (patch) | |
tree | 979ba63784735ed5713fa23114a20a5ccb8cc942 /src/server/mainwindow/mainwindow.h | |
parent | [client] Rewrite thread sync between VNC worker and VNC window (diff) | |
download | pvs2-4a9499bbe5e6f3e95066ab2e6b98e1a58500010a.tar.gz pvs2-4a9499bbe5e6f3e95066ab2e6b98e1a58500010a.tar.xz pvs2-4a9499bbe5e6f3e95066ab2e6b98e1a58500010a.zip |
[server] Don't do unnecessary lock resets on mode change
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 4e880e6..cf7b068 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -85,7 +85,7 @@ private: void savePosition(ConnectionFrame *cf); void startVncServerIfNecessary(int from); void tellClientCurrentSituation(Client* client); - void reset(); + void reset(bool lock = false); Client* getClientFromId(int id); ConnectionFrame* getTutorFrame(); ConnectionFrame* getSelectedFrame(); |