summaryrefslogtreecommitdiff
path: root/src/loot.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/loot.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/loot.cpp')
-rw-r--r--src/loot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loot.cpp b/src/loot.cpp
index 5ff56987..2c52aaa1 100644
--- a/src/loot.cpp
+++ b/src/loot.cpp
@@ -462,7 +462,7 @@ bool Loot::spawnLootcli(QWidget* parent, bool didUpdateMasterList,
const auto logLevel = m_core.settings().diagnostics().lootLogLevel();
QStringList parameters;
- parameters << "--game" << m_core.managedGame()->gameShortName()
+ parameters << "--game" << m_core.managedGame()->lootGameName()
<< "--gamePath"
<< QString("\"%1\"").arg(