aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/Module.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-05-03 19:08:04 +0000
committersaturneric <[email protected]>2024-05-03 19:08:04 +0000
commit149d2789db76fd9831b5571696c04048ff568f28 (patch)
tree5e0f530fa51a4092a6db46110b64153ae57bf5b2 /src/core/module/Module.cpp
parentfix: off but still can edit (diff)
downloadGpgFrontend-149d2789db76fd9831b5571696c04048ff568f28.tar.gz
GpgFrontend-149d2789db76fd9831b5571696c04048ff568f28.zip
fix: solve safe issues
Diffstat (limited to 'src/core/module/Module.cpp')
-rw-r--r--src/core/module/Module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/module/Module.cpp b/src/core/module/Module.cpp
index 7011f2f5..9c875fce 100644
--- a/src/core/module/Module.cpp
+++ b/src/core/module/Module.cpp
@@ -121,15 +121,15 @@ class Module::Impl {
}
GF_CORE_LOG_INFO(
- "module loaded, id: {}, verison: {}, "
+ "module loaded, id: {}, version: {}, "
"sdk version: {}, qt env version: {}, hash: {}, path: {}",
identifier_, version_, gf_sdk_ver_, qt_env_ver_, module_hash_,
module_library_path_);
::GFModuleMetaData* p_meta_data = get_metadata_api_();
- ::GFModuleMetaData* l_meta_data;
while (p_meta_data != nullptr) {
+ ::GFModuleMetaData* l_meta_data;
meta_data_[QString::fromUtf8(p_meta_data->key)] =
QString::fromUtf8(p_meta_data->value);
l_meta_data = p_meta_data;