Alexander Lohnau
43ae993da3
kcms/desktoptheme: Fix reading of metadata in ThemesModel
...
We can not use KConfig to read the desktop file.
CCBUG: 453830
4 years ago
Fushan Wen
10aa9bb8dc
kcms/desktoptheme: find metadata.json when loading ThemesModel
...
Before this commit ThemesModel only finds metadata.desktop, but after
KF5.94, the default theme metadata files have been ported to json format.
BUG: 453830
4 years ago
Laurent Montel
734f3084cf
Fix some clazy warnings
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Nate Graham
ae63802acb
[kcms] Sort grid view KCMs case insensitively
...
Since these KCMs can display user and distro provided content, we can't
ensure that everything will begin with a capital letter. Accordingly, we
should sort the grid case-insensitively to prevent the entries starting
with lowercase letters from being shunted to the end.
CCBUG: 404608
5 years ago
Fabian Vogt
35d4800261
Pass Qt::MatchExactly when calling QAbstractItemModel::match for strings
...
It defaults to Qt::MatchStartsWith and thus returns the wrong result.
5 years ago
Alexander Lohnau
823d2106ec
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
5 years ago
Nicolas Fella
7f19b349d2
Add trailing comma to braced initializers
...
This has two advantages: It improves the diff when adding a new item and prevents clang-format from formatting them into one line.
5 years ago
Laurent Montel
457fd4d232
If include is define in .h remove it if it's defined in .cpp too (scripted)
5 years ago
Bhushan Shah
7f52a95bd4
kcms: move desktoptheme and icons kcm to plasma-workspace
...
They can be useful for mobile, they are taken from the git master of
plasma-desktop at 5d8a64ce569b5592d073eaff5f7e8a0c243fc515 sha.
6 years ago