diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-02-26 18:19:11 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-03-03 10:47:36 +0000 |
commit | 380f3b4b6cbbe8e82b58ddf55e95c5005307b51f (patch) | |
tree | 32ddf141bae6135f3f09478da479b1d182819561 /unotest | |
parent | 7dd973344a8e2c09ac52aa02739b6b921f6df87e (diff) |
KDE4: sleep in yield for native file picker
As it seems to be the only way to poll the clipboard, reintroduce
m_pApplication->clipboard()->setProperty(
"useEventLoopWhenWaiting", true );
To prevent crashes, disable event processing in the Qt thread while
the dialog is open.
Instead this applies the same workaround as the Windows backend to
sleep a ms, which keeps the FP dialogs more usable, but feels like
a horrible workaround.
This is still slower then running processEvent in Yield but still
much better then the current situation.
Change-Id: I10c422f1c0d7448d4a7ad28e57a32ed2cb42f48f
Diffstat (limited to 'unotest')
0 files changed, 0 insertions, 0 deletions