OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc0f9e
)
kcontrol: fallback to Oxygen, Cleanlooks or Windows style if default is not found...
author
Ivailo Monev
<xakepa10@gmail.com>
Tue, 8 Mar 2022 01:50:56 +0000
(
03:50
+0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Tue, 8 Mar 2022 01:50:56 +0000
(
03:50
+0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kcontrol/style/kcmstyle.cpp
patch
|
blob
|
history
diff --git
a/kcontrol/style/kcmstyle.cpp
b/kcontrol/style/kcmstyle.cpp
index
61c01cb
..
7bbd42e
100644
(file)
--- a/
kcontrol/style/kcmstyle.cpp
+++ b/
kcontrol/style/kcmstyle.cpp
@@
-494,13
+494,11
@@
void KCMStyle::defaults()
found = findStyle( KStyle::defaultStyle(), item );
if (!found)
- found = findStyle( "
plastique
", item );
+ found = findStyle( "
oxygen
", item );
if (!found)
- found = findStyle( "windows", item );
- if (!found)
- found = findStyle( "platinum", item );
+ found = findStyle( "cleanlooks", item );
if (!found)
- found = findStyle( "
motif
", item );
+ found = findStyle( "
windows
", item );
cbStyle->setCurrentIndex( item );