From df7cda84d33a01555298e258c3502d1390c2d6ab Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 17 Oct 2003 15:54:17 +0000 Subject: findGame is static class method now svn-id: r10864 --- gui/launcher.cpp | 6 +++--- 1 file 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 -- cgit v1.2.3