Review Request 123229: Ensure we don't crash when using KIO from non-QApplication process

Aleix Pol Gonzalez aleixpol at kde.org
Mon Dec 7 13:29:38 UTC 2015


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

(Updated Dec. 7, 2015, 2:29 p.m.)


Review request for KDE Frameworks.


Changes
-------

Another attempt, using Q_COREAPP_STARTUP_FUNCTION.


Repository: kio


Description
-------

Prevents the UiDelegate and UiTracker to get initialized, because they'll try to create windows and dialogs when some things happen and these will immediately end in a crash.


Diffs (updated)
-----

  src/widgets/kdynamicjobtracker.cpp 14924d5 

Diff: https://git.reviewboard.kde.org/r/123229/diff/


Testing
-------

Ran the tests, my unit test doesn't crash anymore.


Thanks,

Aleix Pol Gonzalez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151207/3816337b/attachment.html>


More information about the Kde-frameworks-devel mailing list