Review Request 122893: Populate KIconDialog on showEvent

Kai Uwe Broulik kde at privat.broulik.de
Fri Mar 13 06:36:43 UTC 2015


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

(Updated März 13, 2015, 6:36 vorm.)


Review request for KDE Frameworks.


Changes
-------

Use separate class for the event filter


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 (updated)
-----

  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/20150313/d2832516/attachment.html>


More information about the Kde-frameworks-devel mailing list