diff options
author | Max Horn | 2003-10-17 15:54:17 +0000 |
---|---|---|
committer | Max Horn | 2003-10-17 15:54:17 +0000 |
commit | df7cda84d33a01555298e258c3502d1390c2d6ab (patch) | |
tree | 13a96dfaf959c52e3492c4cf5d73c9a180effb56 /gui | |
parent | aadb0aa237bceded685c32edf12d1eed10a10ede (diff) | |
download | scummvm-rg350-df7cda84d33a01555298e258c3502d1390c2d6ab.tar.gz scummvm-rg350-df7cda84d33a01555298e258c3502d1390c2d6ab.tar.bz2 scummvm-rg350-df7cda84d33a01555298e258c3502d1390c2d6ab.zip |
findGame is static class method now
svn-id: r10864
Diffstat (limited to 'gui')
-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 |