Browse Source

Remove error message for plugin loading

tags/v1.0.0
Andrew Belt 6 years ago
parent
commit
ca9cddce7f
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/plugin.cpp

+ 1
- 5
src/plugin.cpp View File

@@ -247,13 +247,9 @@ static void loadPlugins(std::string path) {
if (!system::isDirectory(pluginPath)) if (!system::isDirectory(pluginPath))
continue; continue;
if (!loadPlugin(pluginPath)) { if (!loadPlugin(pluginPath)) {
message += string::f("Could not load plugin %s\n", pluginPath.c_str());
// Ignore bad plugins. They are reported in log.txt.
} }
} }
if (!message.empty()) {
message += "See log for details.";
osdialog_message(OSDIALOG_WARNING, OSDIALOG_OK, message.c_str());
}
} }


/** Returns 0 if successful */ /** Returns 0 if successful */


Loading…
Cancel
Save