broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY `m_schemeName` is the translated scheme name which may not match the file name. Since the config is always opened with an absolute path, we can just use the config's name. BUG: 399951 TEST PLAN I'll try putting that into 5.15 (but gonna be tough since the color kcm rewrite happened) - Ran `kcolorschemeeditor "BreezeHighContrast"` tried to upload, it got the correct `/usr/share/color-schemes/BreezeHighContrast.colors` path - Changed the scheme, saved it under a different name, tried to upload, it got the correct `~/.local/share/color-schemes/NewScheme.colors` path REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D20213 AFFECTED FILES kcms/colors/editor/scmeditordialog.cpp To: broulik, #plasma Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart