From a84954b14912b0bbf23ee78ace1a652974ab007f Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Tue, 3 Jun 2014 16:04:58 +0200 Subject: 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 --- src/server/mainwindow/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/mainwindow/mainwindow.h') 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 _lockingButtons; - static const qint64 _buttonBlockTime = 600; + static const qint64 _buttonBlockTime = 2000; // Management stuff enum class Mode { -- cgit v1.2.3-55-g7522