fix: mount should do during activate phase

This commit is contained in:
saturneric 2024-07-29 21:19:23 +02:00
parent d71d7253ec
commit 0bad8ba3e6

View File

@ -69,20 +69,16 @@ using Context = struct {
GpgComponentInfo component_info; GpgComponentInfo component_info;
}; };
auto GFRegisterModule() -> int { auto GFRegisterModule() -> int { return 0; }
MLogDebug("gnupg info gathering module registering");
GFUIMountEntry(DUP("AboutDialogTabs"),
QMapToMetaDataArray({{"TabTitle", GTrC::tr("GnuPG")}}), 1,
GnupgTabFactory);
return 0;
}
auto GFActiveModule() -> int { auto GFActiveModule() -> int {
LISTEN("REQUEST_GATHERING_GNUPG_INFO"); LISTEN("REQUEST_GATHERING_GNUPG_INFO");
LOAD_TRANS("ModuleGnuPGInfoGathering"); LOAD_TRANS("ModuleGnuPGInfoGathering");
GFUIMountEntry(DUP("AboutDialogTabs"),
QMapToMetaDataArray({{"TabTitle", GTrC::tr("GnuPG")}}), 1,
GnupgTabFactory);
return 0; return 0;
} }