diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2024-05-26 11:09:56 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2024-05-26 11:12:08 +0200 |
| commit | 1871f32a8db7e707a6d96a41f09147d8558e0003 (patch) | |
| tree | 9408b610e0373dbf8ff48c04a1dd0ad7098c79b4 /src/statusbar.cpp | |
| parent | fa82d1cca1544c401bc06c341ce265a346a498b9 (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/statusbar.cpp')
| -rw-r--r-- | src/statusbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statusbar.cpp b/src/statusbar.cpp index 3b26dd91..8fa9451d 100644 --- a/src/statusbar.cpp +++ b/src/statusbar.cpp @@ -146,7 +146,7 @@ void StatusBar::updateNormalMessage(OrganizerCore& core) QString game; if (core.managedGame()) { - game = core.managedGame()->gameName(); + game = core.managedGame()->displayGameName(); } else { game = tr("Unknown game"); } |
