D22061: Add a logging category for logs warnings
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Sun Jun 23 23:35:55 BST 2019
apol added inline comments.
INLINE COMMENTS
> kdesktopfile.h:27
>
> +#include <QLoggingCategory>
> +Q_DECLARE_LOGGING_CATEGORY(kconfigLoggingDesktop)
Use ecm_qt_declare_logging_category from cmake.
This should never be in header files too, or it would spill on applications otherwise.
See for example how it's done in this same repo on KCONF_UPDATE_LOG.
REPOSITORY
R237 KConfig
REVISION DETAIL
https://phabricator.kde.org/D22061
To: meven, #frameworks
Cc: apol, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190623/57100fa5/attachment.html>
More information about the Kde-frameworks-devel
mailing list