diff options
author | saturneric <[email protected]> | 2024-07-31 06:13:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-31 06:13:26 +0000 |
commit | 081147d65fcb0a20818bbfb43f6ec4f5ddf59581 (patch) | |
tree | f6ec05666acb98da46b4cb0dfc0871225f4ad388 /src/core/module/Module.cpp | |
parent | fix: dealing with unknown compiler (diff) | |
download | GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.tar.gz GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.zip |
fix: addressing some of the significant deficiencies identified
Diffstat (limited to 'src/core/module/Module.cpp')
-rw-r--r-- | src/core/module/Module.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/module/Module.cpp b/src/core/module/Module.cpp index becda4b6..1be4a4bd 100644 --- a/src/core/module/Module.cpp +++ b/src/core/module/Module.cpp @@ -110,10 +110,10 @@ class Module::Impl { if (qt_env_ver_major != QString::number(QT_VERSION_MAJOR) + "." || qt_env_ver_minor != QString::number(QT_VERSION_MINOR) + ".") { - LOG_W() << "uncompatible module: " << identifier_ - << ", reason sdk version: " << qt_env_ver_ - << "current sdk version: " << QString::fromUtf8(QT_VERSION_STR) - << ", abort..."; + LOG_W() << "module: " << identifier_ + << "is not compatible, reason module qt version: " << qt_env_ver_ + << ", but application qt version: " + << QString::fromUtf8(QT_VERSION_STR) << ", abort..."; return; } @@ -274,7 +274,8 @@ auto Module::Register() -> int { return p_->Register(); } auto Module::Active() -> int { return p_->Active(); } auto Module::Exec(EventReference event) -> int { - return p_->Exec(std::move(event)); + LOG_D() << "module" << GetModuleIdentifier() << "executing..."; + return p_->Exec(event); } auto Module::Deactivate() -> int { return p_->Deactivate(); } |