Review Request 112602: Delay KDE class initialization to main loop

Xuetian Weng wengxt at gmail.com
Mon Sep 9 13:46:13 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112602/
-----------------------------------------------------------

Review request for kde-workspace and Àlex Fiestas.


Description
-------

Gui platform plugin is loaded during QApplication construction, but it relies on some KApplication/QApplication data to work correctly.

This patch uses a QTimer::singleShot hack to delay the initialization to main loop, to ensure KApplication/QApplication is already constructed.


This addresses bug 324574.
    http://bugs.kde.org/show_bug.cgi?id=324574


Diffs
-----

  qguiplatformplugin_kde/qguiplatformplugin_kde.cpp ce22622 

Diff: http://git.reviewboard.kde.org/r/112602/diff/


Testing
-------

324574 fixed. and other applications are unaffected.


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130909/ed1d8379/attachment.htm>


More information about the kde-core-devel mailing list