diff options
Diffstat (limited to 'src/core/module/ModuleManager.cpp')
-rw-r--r-- | src/core/module/ModuleManager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/module/ModuleManager.cpp b/src/core/module/ModuleManager.cpp index f2318543..5f8895be 100644 --- a/src/core/module/ModuleManager.cpp +++ b/src/core/module/ModuleManager.cpp @@ -69,17 +69,17 @@ class ModuleManager::Impl { [=](GpgFrontend::DataObjectPtr) -> int { QLibrary module_library(module_library_path); if (!module_library.load()) { - qCWarning(core) << "module manager failed to load module: " - << module_library.fileName() - << ", reason: " << module_library.errorString(); + LOG_W() << "module manager failed to load module: " + << module_library.fileName() + << ", reason: " << module_library.errorString(); return -1; } auto module = SecureCreateSharedObject<Module>(module_library); if (!module->IsGood()) { - qCWarning(core) << "module manager failed to load module, " - "reason: illegal module: " - << module_library.fileName(); + LOG_W() << "module manager failed to load module, " + "reason: illegal module: " + << module_library.fileName(); return -1; } |