mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
reset style to the default instead of the first key (#6596)
This commit is contained in:
parent
a7bb5254a3
commit
6ab558dd58
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ void ThemeManager::themeChangedSlot()
|
||||||
qApp->setStyle(QStyleFactory::create("Fusion"));
|
qApp->setStyle(QStyleFactory::create("Fusion"));
|
||||||
qApp->setPalette(createDarkGreenFusionPalette());
|
qApp->setPalette(createDarkGreenFusionPalette());
|
||||||
} else {
|
} else {
|
||||||
qApp->setStyle(QStyleFactory::create(QStyleFactory::keys().first()));
|
qApp->setStyle("");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dirPath.isEmpty()) {
|
if (dirPath.isEmpty()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue