mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kcontrol: fallback to Oxygen, Cleanlooks or Windows style if default is not found in style KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9fc0f9e91d
commit
3dad5a3eab
1 changed files with 3 additions and 5 deletions
|
@ -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( "cleanlooks", item );
|
||||
if (!found)
|
||||
found = findStyle( "windows", item );
|
||||
if (!found)
|
||||
found = findStyle( "platinum", item );
|
||||
if (!found)
|
||||
found = findStyle( "motif", item );
|
||||
|
||||
cbStyle->setCurrentIndex( item );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue