From 723e352df4bc3f16d3e2db4f276c8ea31b56007d Mon Sep 17 00:00:00 2001 From: Riley Hawksworth Date: Wed, 27 Mar 2024 20:10:33 +0000 Subject: [PATCH 1/2] Fix clang format error for coding style. --- src/citra_qt/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index d2fddf38d..abbc0adb3 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -3057,11 +3057,11 @@ void GMainWindow::UpdateWindowTitle() { if (game_title.isEmpty()) { setWindowTitle(QStringLiteral("Lime %1").arg(full_name)); } else { - setWindowTitle(QStringLiteral("Lime %1 | %2").arg(full_name, game_title)); - render_window->setWindowTitle( + setWindowTitle(QStringLiteral("Lime %1 | %2").arg(full_name, game_title)); + render_window->setWindowTitle( QStringLiteral("Lime %1 | %2 | %3").arg(full_name, game_title, tr("Primary Window"))); - secondary_window->setWindowTitle(QStringLiteral("Lime %1 | %2 | %3") - .arg(full_name, game_title, tr("Secondary Window"))); + secondary_window->setWindowTitle( + QStringLiteral("Lime %1 | %2 | %3").arg(full_name, game_title, tr("Secondary Window"))); } } From e8df98e8a1feada3f37f9d574e86567bfa5a1184 Mon Sep 17 00:00:00 2001 From: Riley Hawksworth Date: Wed, 27 Mar 2024 20:12:41 +0000 Subject: [PATCH 2/2] Fix clang format error about code style again. --- src/citra_qt/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index abbc0adb3..448e0d017 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -3057,8 +3057,8 @@ void GMainWindow::UpdateWindowTitle() { if (game_title.isEmpty()) { setWindowTitle(QStringLiteral("Lime %1").arg(full_name)); } else { - setWindowTitle(QStringLiteral("Lime %1 | %2").arg(full_name, game_title)); - render_window->setWindowTitle( + setWindowTitle(QStringLiteral("Lime %1 | %2").arg(full_name, game_title)); + render_window->setWindowTitle( QStringLiteral("Lime %1 | %2 | %3").arg(full_name, game_title, tr("Primary Window"))); secondary_window->setWindowTitle( QStringLiteral("Lime %1 | %2 | %3").arg(full_name, game_title, tr("Secondary Window")));