summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2024-05-26 11:09:56 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2024-05-26 11:12:08 +0200
commit1871f32a8db7e707a6d96a41f09147d8558e0003 (patch)
tree9408b610e0373dbf8ff48c04a1dd0ad7098c79b4 /src/mainwindow.cpp
parentfa82d1cca1544c401bc06c341ce265a346a498b9 (diff)
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 <Twinki@users.noreply.github.com>
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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()) {