Review Request 125764: Fix kinfocenter crash when run with --version

Antonio Larrosa Jimenez larrosa at kde.org
Fri Oct 23 14:02:05 UTC 2015


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

(Updated Oct. 23, 2015, 2:02 p.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma.


Repository: kinfocenter


Description
-------

Fix the order in which kinfocenter is initialized to first do all
commandline parsing and only then create windows. In other case
running "kinfocenter --version" crashes when unloading dynamic libraries
that shouldn't have been loaded at all.


Diffs
-----

  main.cpp 42f4c6a527e0ba6a76529d1f25bfe1e5d9a485bf 

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


Testing
-------

Noticed that "kinfocenter --version" crashed.
I made this patch, built it and tested it doesn't crash anymore.


Thanks,

Antonio Larrosa Jimenez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151023/2ed46d7a/attachment.html>


More information about the Plasma-devel mailing list