Skip to content

Use a separate logging category for desktoptojson's use of desktopfileparser

desktoptojson instead of linking kcoreaddons compiles a linked copy of the desktopfileparser.cpp, and reused the same logging category, yet set a different logging default (Debug instead of Warning). Which makes sense as on conversion one is more interested in any issues.

Though that different setup falls flat once one used kdebugsettings or directly changes defaults in qtlogging.ini, as at that level both cases get the same default.

This patch...

  • introduces a separate logging category for the conversion tool, so consumers can control both usages separately.
  • now generates the respective logging category code
  • removes outdated note about updating the unit test

Inspired by system/dolphin!127 (comment 147708)

@apol @sitter @mpyne

Edited by Friedrich W. H. Kossebau

Merge request reports