summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorManuel Schneider2014-06-03 16:04:58 +0200
committerManuel Schneider2014-06-03 16:04:58 +0200
commita84954b14912b0bbf23ee78ace1a652974ab007f (patch)
treef0d5902eb7ffc4f62e210e6f9f47cdd7f1a52431 /src/server/mainwindow/mainwindow.h
parentRemove MainWindow::isValidClient. Connect slots not queued. (diff)
downloadpvs2-a84954b14912b0bbf23ee78ace1a652974ab007f.tar.gz
pvs2-a84954b14912b0bbf23ee78ace1a652974ab007f.tar.xz
pvs2-a84954b14912b0bbf23ee78ace1a652974ab007f.zip
Lock the buttons until the new vnc server sent a reply about its state. If this fails, unlock the buttons after a timeout of 2 seconds
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r--src/server/mainwindow/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index 7297f6d..ad8c43f 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -46,7 +46,7 @@ private:
// Button block stuff
QTimer *_buttonLockTimer;
QList<QAction*> _lockingButtons;
- static const qint64 _buttonBlockTime = 600;
+ static const qint64 _buttonBlockTime = 2000;
// Management stuff
enum class Mode {