D6912: Theme: Derive read-only flag from file on disk

Dominik Haumann noreply at phabricator.kde.org
Wed Jul 26 08:34:05 UTC 2017


dhaumann created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  Instead of having a "read-only" flag in the .theme files, using the file location typically is exactly what we want.
  And having read-only files in a writable location does not make much sense.

TEST PLAN
  make test, adapted unit tests.

REPOSITORY
  R216 Syntax Highlighting

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

AFFECTED FILES
  autotests/theme_test.cpp
  data/themes/default.theme
  data/themes/printing.theme
  src/lib/theme.h
  src/lib/themedata.cpp
  src/lib/themedata_p.h

To: dhaumann, vkrause
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170726/7e1142ed/attachment.html>


More information about the Kde-frameworks-devel mailing list