WIP: Fixed windows build.

This commit is contained in:
Matthias Koefferlein 2018-06-17 10:27:54 +02:00
parent 4097a5b361
commit 4c90d98750
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ static PluginDescriptor load_plugin (const std::string &pp)
HINSTANCE handle = LoadLibraryW ((const wchar_t *) tl::to_qstring (pp).constData ());
if (! handle) {
throw tl::Exception (tl::to_string (QObject::tr ("Unable to load plugin: %s with error message: %s ")), pp, GetLastError ());
return;
return desc;
}
init_func = reinterpret_cast<dbp_init_func_t> (GetProcAddress (handle, init_func_name));