mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
clang-format
This commit is contained in:
parent
36506e18bb
commit
4329976dbc
2 changed files with 5 additions and 3 deletions
|
@ -13,7 +13,9 @@ class MainWindow : public QMainWindow {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum class Theme : int {
|
enum class Theme : int {
|
||||||
System = 0, Light = 1, Dark = 2,
|
System = 0,
|
||||||
|
Light = 1,
|
||||||
|
Dark = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
QComboBox* themeSelect = nullptr;
|
QComboBox* themeSelect = nullptr;
|
||||||
|
|
|
@ -78,7 +78,7 @@ void MainWindow::setTheme(Theme theme) {
|
||||||
}
|
}
|
||||||
|
|
||||||
case Theme::System: {
|
case Theme::System: {
|
||||||
qApp->setPalette(this->style()->standardPalette());
|
qApp->setPalette(this->style()->standardPalette());
|
||||||
qApp->setStyle(QStyleFactory::create("WindowsVista"));
|
qApp->setStyle(QStyleFactory::create("WindowsVista"));
|
||||||
qApp->setStyleSheet("");
|
qApp->setStyleSheet("");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue