diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-03-10 14:44:05 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-03-10 15:26:07 +0000 |
commit | aeda478a02523cec146f6af69710f0391061db56 (patch) | |
tree | f5804450824c2d98b3a3306cac128d9ba98ef0f0 /o3tl | |
parent | d4cc603a5f80af746a5f381f28cfa049af5b314a (diff) |
fdo#73115: Always run timeouts as events
Right-click popup menus run click events throught the LO main loop.
In case of KDE4 the LO main loop is run by a timer in the main thread,
with Qt::DirectConnection execution.
If the timeout actually starts a nested event loop for a new dialog,
the timer is blocked, the nested mainloop detects it was started
from the timeout and drops the blocked timout from polling, which
blocks any further LibreOffice event loop processing.
This changes the timers to Qt::QueuedConnection, so they always
generate an event and are processed by the Qt event loop.
Change-Id: Ie626b22be3d8f9b8934bcc5e9e0e67a365549cfc
Diffstat (limited to 'o3tl')
0 files changed, 0 insertions, 0 deletions