Kaydet (Commit) be04f9e3 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

KDE4 change system timer to be single-shot

Change-Id: I21a0a62bd0cd122e0da676579d2b2a93264acdd8
üst e613e2eb
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment