summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-10-31 22:50:21 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2017-07-13 12:10:24 +0200
commitbe04f9e3dcbab2dacb63cfaa2e787db9f1aa16dc (patch)
tree6236f47fcfbb39740ac1b7b202b5a62a78344a0f /vcl/unx
parente613e2ebcd64bbe8a5cdc35750e49e773c5b03f4 (diff)
KDE4 change system timer to be single-shot
Change-Id: I21a0a62bd0cd122e0da676579d2b2a93264acdd8
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/kde4/KDEXLib.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 23332d8c1777..8031f05d1cd7 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -57,6 +57,7 @@ KDEXLib::KDEXLib() :
// the timer has to use a Qt::QueuedConnection, otherwise the nested event
// loop will detect the blocking timer and drop it from the polling
// freezing LO X11 processing.
+ timeoutTimer.setSingleShot( true );
connect( &timeoutTimer, SIGNAL( timeout()), this, SLOT( timeoutActivated()), Qt::QueuedConnection );
connect( &userEventTimer, SIGNAL( timeout()), this, SLOT( userEventActivated()), Qt::QueuedConnection );