Review Request 122893: Populate KIconDialog on showEvent

Kai Uwe Broulik kde at privat.broulik.de
Fri Jul 3 21:16:10 UTC 2015


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

(Updated Juli 3, 2015, 9:16 nachm.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks.


Repository: kiconthemes


Description
-------

Populate the dialog on showEvent, this way you can use the regular QDialog show() and exec() methods and use, for instance, Qt::WindowModal rather than having showDialog() or openDialog() mess with modality. showDialog() could probably be deprecated then.

I don't know whether this is binary compatible. "you can safely reimplement a virtual function defined in one of the base classes only if it is safe that the programs linked with the prior version call the implementation in the base class rather than the derived one"


Diffs
-----

  src/kicondialog.h 83572a0 
  src/kicondialog.cpp 75f9f01 

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


Testing
-------

Just calling show() on the KIconDialog works as expected, the icon button in kfileproperties thingie dialog still works.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150703/864b7cbb/attachment.html>


More information about the Kde-frameworks-devel mailing list