D27865: [KFileFilterCombo] Don't add inavlid QMimeType to mime filter

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Thu Mar 5 14:05:54 GMT 2020


kossebau added inline comments.

INLINE COMMENTS

> dfaure wrote in kfilefiltercombo.cpp:31
> Err why don't you include kiofilewidgets_debug.h instead?
> 
> You're redefining what the generated file contains, here.

No, the generated one contains only `kf5.kio.filewidgets`, not `kf5.kio.filewidgets.kfilefiltercombo`.
That's why I proposed to invert things and use `ecm_qt_declare_logging_category()` for the latter, so we have a generated header to include indeed for the caegory we use here, and use `ecm_qt_export_logging_category()` for the virtual base category `kf5.kio.filewidgets` instead (done only to have this one available & "documented" in KDebugSettings).

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D27865

To: ahmadsamir, #frameworks, dfaure, meven, sitter, broulik, kossebau
Cc: kossebau, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200305/253199c2/attachment.html>


More information about the Kde-frameworks-devel mailing list