diff options
| author | saturneric <[email protected]> | 2024-07-29 19:19:23 +0000 | 
|---|---|---|
| committer | saturneric <[email protected]> | 2024-07-29 19:19:23 +0000 | 
| commit | 0bad8ba3e6b7574cba25ad11bf425f15700657e9 (patch) | |
| tree | 268ae393f15be6112d05a3bd189e5dd50aab968c | |
| parent | Merge branch 'main' of github.com:saturneric/GpgFrontend-Modules (diff) | |
| download | Modules-0bad8ba3e6b7574cba25ad11bf425f15700657e9.tar.gz Modules-0bad8ba3e6b7574cba25ad11bf425f15700657e9.zip  | |
fix: mount should do during activate phase
Diffstat (limited to '')
| -rw-r--r-- | src/m_gpg_info/GnuPGInfoGatheringModule.cpp | 14 | 
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;  }  | 
