solve some bugs
This commit is contained in:
+5
-3
@@ -287,9 +287,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
if (!no_plugin->IsSet()) {
|
||||
olive::plugin::loadPlugins("plugins");
|
||||
}
|
||||
const bool load_plugins = !no_plugin->IsSet();
|
||||
|
||||
if (crash_option->IsSet()) {
|
||||
startup_params.set_crash_on_startup(true);
|
||||
@@ -341,6 +339,10 @@ int main(int argc, char *argv[])
|
||||
gui_app->setWindowIcon(QIcon(QStringLiteral(":/graphics/oak-logo.png")));
|
||||
}
|
||||
|
||||
if (load_plugins) {
|
||||
olive::plugin::loadPlugins("plugins");
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
// On Windows, users seem to frequently run into a crash caused by their graphics driver not
|
||||
// supporting framebuffers, which we require. I personally have only been able to recreate this
|
||||
|
||||
Reference in New Issue
Block a user