From 1871f32a8db7e707a6d96a41f09147d8558e0003 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 26 May 2024 11:09:56 +0200 Subject: Use `lootGameName()` and `displayGameName()` in initial places. (#2030) * Use `displayGameName()` in create instance dialogs & the main window, this doesn't cover all places `gameName()` was being used for purely display reasons, but it covers the bulk. * Use `lootGameName()` instead of `gameShortName()` for LOOT cli initiation. * Use game display name in status bar. --------- Co-authored-by: Twinki --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2c62e731..ca738c78 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -647,7 +647,7 @@ void MainWindow::updateWindowTitle(const APIUserAccount& user) { //"\xe2\x80\x93" is an "em dash", a longer "-" QString title = QString("%1 \xe2\x80\x93 Mod Organizer v%2") - .arg(m_OrganizerCore.managedGame()->gameName(), + .arg(m_OrganizerCore.managedGame()->displayGameName(), m_OrganizerCore.getVersion().displayString(3)); if (!user.name().isEmpty()) { -- cgit v1.3.1