diff options
-rw-r--r-- | gui/launcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 537f482d53..04b918649d 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -245,10 +245,10 @@ void LauncherDialog::updateListing() { if (name.isEmpty()) name = iter->_key; if (description.isEmpty()) { - GameSettings g = _detector.findGame(name); + GameSettings g = GameDetector::findGame(name); if (g.description) description = g.description; - } + } if (!name.isEmpty() && !description.isEmpty()) { // Insert the game into the launcher list @@ -388,7 +388,7 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat String gameId(ConfMan.get("gameid", _domains[item])); if (gameId.isEmpty()) gameId = _domains[item]; - EditGameDialog editDialog(_gui, _domains[item], _detector.findGame(gameId)); + EditGameDialog editDialog(_gui, _domains[item], GameDetector::findGame(gameId)); if (editDialog.runModal()) { // User pressed OK, so make changes permanent |