diff options
author | saturneric <[email protected]> | 2024-04-14 12:56:18 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-14 12:56:18 +0000 |
commit | cb2672ca430c54244df7bd46ef97256c3d840cbf (patch) | |
tree | a54bb28d61cf9dbf608261782c4f3febec72ea8c /src/ui/main_window/MainWindowUI.cpp | |
parent | fix: use qt designer placeholder instead of custom initialized (diff) | |
download | GpgFrontend-cb2672ca430c54244df7bd46ef97256c3d840cbf.tar.gz GpgFrontend-cb2672ca430c54244df7bd46ef97256c3d840cbf.zip |
feat: add a grt viewer and solve some issues in gnupg info tab
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowUI.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp index 0f8dfdb8..475eed0e 100644 --- a/src/ui/main_window/MainWindowUI.cpp +++ b/src/ui/main_window/MainWindowUI.cpp @@ -421,8 +421,7 @@ void MainWindow::create_actions() { connect(about_act_, &QAction::triggered, this, [=]() { new AboutDialog(0, this); }); - if (Module::IsModuleActivate( - "com.bktus.gpgfrontend.module.integrated.gnupg_info_gathering")) { + if (Module::IsModuleActivate(kGnuPGInfoGatheringModuleID)) { gnupg_act_ = new QAction(tr("GnuPG"), this); gnupg_act_->setIcon(QIcon(":/icons/help.png")); gnupg_act_->setToolTip(tr("Information about Gnupg")); @@ -436,8 +435,7 @@ void MainWindow::create_actions() { connect(translate_act_, &QAction::triggered, this, [=]() { new AboutDialog(tr("Translators"), this); }); - if (Module::IsModuleActivate( - "com.bktus.gpgfrontend.module.integrated.version_checking")) { + if (Module::IsModuleActivate(kVersionCheckingModuleID)) { check_update_act_ = new QAction(tr("Check for Updates"), this); check_update_act_->setIcon(QIcon(":/icons/help.png")); check_update_act_->setToolTip(tr("Check for updates")); |