D28760: KSettings::Dialog: avoid duplicate entries due cascading $XDG_DATA_DIRS

Pino Toscano noreply at phabricator.kde.org
Sat Apr 11 18:57:13 BST 2020


pino added a comment.


  Why not instead use a `QMap<QString /* relative filename */, QString /* absolute path */ >` to collect the files? This way you wouldn't need the double QStandardPaths lookup.

REPOSITORY
  R295 KCMUtils

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

To: dfaure, apol, broulik, davidedmundson, kossebau
Cc: pino, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200411/ed809532/attachment.html>


More information about the Kde-frameworks-devel mailing list