aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorMax Horn2011-02-07 22:58:22 +0000
committerMax Horn2011-02-07 22:58:22 +0000
commit41121be4d6fecbc727897471e0ceed1fd4c76bd7 (patch)
tree08ad9d64eb68bc039cc70e29092592cd8f446526 /engines/parallaction
parent85aabef6fe370766fa52ba92a7cf63c558bac772 (diff)
downloadscummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.tar.gz
scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.tar.bz2
scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.zip
GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/saveload.cpp b/engines/parallaction/saveload.cpp
index da41e2c9a3..b8116d6bc7 100644
--- a/engines/parallaction/saveload.cpp
+++ b/engines/parallaction/saveload.cpp
@@ -192,7 +192,7 @@ int SaveLoad::selectSaveFile(Common::String &selectedName, bool saveMode, const
const EnginePlugin *plugin = 0;
EngineMan.findGame(gameId, &plugin);
- int idx = slc.runModal(plugin, ConfMan.getActiveDomainName());
+ int idx = slc.runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName());
if (idx >= 0) {
selectedName = slc.getResultString();
slc.close();