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/statusbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/statusbar.cpp') 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"); } -- cgit v1.3.1