aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorMax Horn2006-05-04 22:52:18 +0000
committerMax Horn2006-05-04 22:52:18 +0000
commit6321cfc874ee95b9b2471783a18f4173fb60ab78 (patch)
treed656ceb19a97ef038c61390e316aa6d50e63c6dc /gui/launcher.cpp
parentc319e972467beb3b824af01bc707ea225c38572e (diff)
downloadscummvm-rg350-6321cfc874ee95b9b2471783a18f4173fb60ab78.tar.gz
scummvm-rg350-6321cfc874ee95b9b2471783a18f4173fb60ab78.tar.bz2
scummvm-rg350-6321cfc874ee95b9b2471783a18f4173fb60ab78.zip
Turned the last remaining few GameDetector methods into static methods
svn-id: r22344
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 86e8ad926b..73f74924a0 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -434,8 +434,8 @@ void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
#pragma mark -
-LauncherDialog::LauncherDialog(GameDetector &detector)
- : Dialog(0, 0, 320, 200), _detector(detector) {
+LauncherDialog::LauncherDialog()
+ : Dialog(0, 0, 320, 200) {
_drawingHints |= THEME_HINT_MAIN_DIALOG;
const int screenW = g_system->getOverlayWidth();
@@ -737,7 +737,7 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
case kListItemDoubleClickedCmd:
// Print out what was selected
assert(item >= 0);
- _detector.setTarget(_domains[item]);
+ GameDetector::setTarget(_domains[item]);
close();
break;
case kListSelectionChangedCmd: