aboutsummaryrefslogtreecommitdiff
path: root/gui/massadd.cpp
diff options
context:
space:
mode:
authorOystein Eftevaag2009-02-17 21:02:47 +0000
committerOystein Eftevaag2009-02-17 21:02:47 +0000
commitfc34cb3bd38dd46acc606cbe290cd851cf57b171 (patch)
tree90c89a6ae93f3c93ca3033933059bf574df65047 /gui/massadd.cpp
parenta2c9faed29c422654d7640be34e69d4574f3d9f5 (diff)
downloadscummvm-rg350-fc34cb3bd38dd46acc606cbe290cd851cf57b171.tar.gz
scummvm-rg350-fc34cb3bd38dd46acc606cbe290cd851cf57b171.tar.bz2
scummvm-rg350-fc34cb3bd38dd46acc606cbe290cd851cf57b171.zip
When adding games from a directory the user had no permissions to, instead of exiting with an error we'll (for normal adds) show an error message and (for mass adds) just continue in the list.
svn-id: r38448
Diffstat (limited to 'gui/massadd.cpp')
-rw-r--r--gui/massadd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/massadd.cpp b/gui/massadd.cpp
index 642e4c713a..1b1f3f7ff0 100644
--- a/gui/massadd.cpp
+++ b/gui/massadd.cpp
@@ -155,8 +155,7 @@ void MassAddDialog::handleTickle() {
Common::FSList files;
if (!dir.getChildren(files, Common::FSNode::kListAll)) {
- error("browser returned a node that is not a directory: '%s'",
- dir.getPath().c_str());
+ continue;
}
// Run the detector on the dir