From 4c90d98750009973f802c19aaf62f707b5fb4b86 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 17 Jun 2018 10:27:54 +0200 Subject: [PATCH] WIP: Fixed windows build. --- src/db/db/dbInit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/db/dbInit.cc b/src/db/db/dbInit.cc index ac2c28a21..99f261470 100644 --- a/src/db/db/dbInit.cc +++ b/src/db/db/dbInit.cc @@ -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 (GetProcAddress (handle, init_func_name));