From 4329976dbcaff0a44598c58090d390246cb3a65b Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sat, 30 Sep 2023 18:39:05 +0300 Subject: [PATCH] clang-format --- include/panda_qt/main_window.hpp | 4 +++- src/panda_qt/main_window.cpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/panda_qt/main_window.hpp b/include/panda_qt/main_window.hpp index ebd2407e..2612f04a 100644 --- a/include/panda_qt/main_window.hpp +++ b/include/panda_qt/main_window.hpp @@ -13,7 +13,9 @@ class MainWindow : public QMainWindow { private: enum class Theme : int { - System = 0, Light = 1, Dark = 2, + System = 0, + Light = 1, + Dark = 2, }; QComboBox* themeSelect = nullptr; diff --git a/src/panda_qt/main_window.cpp b/src/panda_qt/main_window.cpp index e32290c8..a27c3319 100644 --- a/src/panda_qt/main_window.cpp +++ b/src/panda_qt/main_window.cpp @@ -10,7 +10,7 @@ MainWindow::MainWindow(QApplication* app, QWidget* parent) : QMainWindow(parent) // Set our menu bar up menuBar = new QMenuBar(this); setMenuBar(menuBar); - + auto pandaMenu = menuBar->addMenu(tr("PANDA")); auto pandaAction = pandaMenu->addAction(tr("panda...")); @@ -78,7 +78,7 @@ void MainWindow::setTheme(Theme theme) { } case Theme::System: { - qApp->setPalette(this->style()->standardPalette()); + qApp->setPalette(this->style()->standardPalette()); qApp->setStyle(QStyleFactory::create("WindowsVista")); qApp->setStyleSheet(""); break;