From e24179a380611363b812c8e749138e0ceb0cd09d Mon Sep 17 00:00:00 2001 From: faith Date: Sat, 7 Dec 2024 16:35:10 +0800 Subject: [PATCH] fix clang-format --- src/qt_gui/game_list_frame.cpp | 7 ++++--- src/qt_gui/main_window.h | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/qt_gui/game_list_frame.cpp b/src/qt_gui/game_list_frame.cpp index bb25cffe4..968a6faa8 100644 --- a/src/qt_gui/game_list_frame.cpp +++ b/src/qt_gui/game_list_frame.cpp @@ -246,7 +246,8 @@ void GameListFrame::SetCompatibilityItem(int row, int column, CompatibilityEntry break; case Playable: color = QStringLiteral("#47D35C"); - tooltip_string = tr("Game can be completed with playable performance and no major glitches"); + tooltip_string = + tr("Game can be completed with playable performance and no major glitches"); break; } @@ -273,8 +274,8 @@ void GameListFrame::SetCompatibilityItem(int row, int column, CompatibilityEntry label->setGraphicsEffect(shadowEffect); // Apply shadow effect to the QLabel - QLabel* version_label = - new QLabel(QString("%1, (%2)").arg(entry.last_tested.toString("yyyy-MM-dd"), entry.version), widget); + QLabel* version_label = new QLabel( + QString("%1, (%2)").arg(entry.last_tested.toString("yyyy-MM-dd"), entry.version), widget); version_label->setStyleSheet("color: white; font-size: 10px;"); layout->addWidget(dotLabel, 0, 0, -1, 1); diff --git a/src/qt_gui/main_window.h b/src/qt_gui/main_window.h index a14c7d657..672f004a6 100644 --- a/src/qt_gui/main_window.h +++ b/src/qt_gui/main_window.h @@ -93,7 +93,8 @@ private: PSF psf; std::shared_ptr m_game_info = std::make_shared(); - std::shared_ptr m_compat_info = std::make_shared(); + std::shared_ptr m_compat_info = + std::make_shared(); QTranslator* translator;