mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 21:43:55 -07:00
Set style to nullptr?
Took 7 minutes
This commit is contained in:
parent
d7b31f2f9d
commit
55b8067971
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,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(defaultStyleName)); // setting the style also sets the palette
|
qApp->setStyle(nullptr); // setting the style also sets the palette
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dirPath.isEmpty()) {
|
if (dirPath.isEmpty()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue