Review Request 112602: Delay KDE class initialization to main loop

Commit Hook null at kde.org
Mon Sep 9 16:46:46 BST 2013


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

(Updated Sept. 9, 2013, 3:46 p.m.)


Status
------

This change has been marked as submitted.


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/e4318c1d/attachment.htm>


More information about the kde-core-devel mailing list