Fix clang-format errors.

This commit is contained in:
Riley Hawksworth 2024-03-30 23:59:42 +00:00 committed by OpenSauce
parent 6b34041b06
commit 99fd9c68a0
2 changed files with 7 additions and 4 deletions

View file

@ -258,7 +258,7 @@ public:
* @param title Referencec to store the application title into * @param title Referencec to store the application title into
* @param ResultStatus result of function * @param ResultStatus result of function
*/ */
virtual ResultStatus ReadTitleLong([[maybe_unused]]std::string& title) { virtual ResultStatus ReadTitleLong([[maybe_unused]] std::string& title) {
return ResultStatus::ErrorNotImplemented; return ResultStatus::ErrorNotImplemented;
} }

View file

@ -3061,11 +3061,14 @@ void GMainWindow::UpdateWindowTitle() {
if (game_title_long.isEmpty()) { if (game_title_long.isEmpty()) {
setWindowTitle(QStringLiteral("Lime %1").arg(full_name)); setWindowTitle(QStringLiteral("Lime %1").arg(full_name));
} else { } else {
setWindowTitle(QStringLiteral("Lime %1 | %2").arg(full_name, game_title_long)); setWindowTitle(QStringLiteral("Lime %1 | %2")
.arg(full_name, game_title_long));
render_window->setWindowTitle( render_window->setWindowTitle(
QStringLiteral("Lime %1 | %2 | %3").arg(full_name, game_title_long, tr("Primary Window"))); QStringLiteral("Lime %1 | %2 | %3")
.arg(full_name, game_title_long, tr("Primary Window")));
secondary_window->setWindowTitle( secondary_window->setWindowTitle(
QStringLiteral("Lime %1 | %2 | %3").arg(full_name, game_title_long, tr("Secondary Window"))); QStringLiteral("Lime %1 | %2 | %3")
.arg(full_name, game_title_long, tr("Secondary Window")));
} }
} }