aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_gpg_info/GnuPGInfoGatheringModule.cpp')
-rw-r--r--src/m_gpg_info/GnuPGInfoGatheringModule.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
index 2e13590..cd1b0c7 100644
--- a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
+++ b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
@@ -69,20 +69,16 @@ using Context = struct {
GpgComponentInfo component_info;
};
-auto GFRegisterModule() -> int {
- MLogDebug("gnupg info gathering module registering");
-
- GFUIMountEntry(DUP("AboutDialogTabs"),
- QMapToMetaDataArray({{"TabTitle", GTrC::tr("GnuPG")}}), 1,
- GnupgTabFactory);
-
- return 0;
-}
+auto GFRegisterModule() -> int { return 0; }
auto GFActiveModule() -> int {
LISTEN("REQUEST_GATHERING_GNUPG_INFO");
LOAD_TRANS("ModuleGnuPGInfoGathering");
+
+ GFUIMountEntry(DUP("AboutDialogTabs"),
+ QMapToMetaDataArray({{"TabTitle", GTrC::tr("GnuPG")}}), 1,
+ GnupgTabFactory);
return 0;
}