aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowUI.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-04-14 08:19:01 +0000
committersaturneric <[email protected]>2024-04-14 08:19:07 +0000
commit5967d6ccd9e382254a4fffdf5b54655b0faae6fb (patch)
treea48ac935be347de4042c7b5e0dbfbc419e04c667 /src/ui/main_window/MainWindowUI.cpp
parentfeat: add auto activate function and optimums for some structures (diff)
downloadGpgFrontend-5967d6ccd9e382254a4fffdf5b54655b0faae6fb.tar.gz
GpgFrontend-5967d6ccd9e382254a4fffdf5b54655b0faae6fb.zip
fix: use qt designer placeholder instead of custom initialized
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r--src/ui/main_window/MainWindowUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp
index c38684d7..0f8dfdb8 100644
--- a/src/ui/main_window/MainWindowUI.cpp
+++ b/src/ui/main_window/MainWindowUI.cpp
@@ -421,7 +421,7 @@ void MainWindow::create_actions() {
connect(about_act_, &QAction::triggered, this,
[=]() { new AboutDialog(0, this); });
- if (Module::IsModuleAcivate(
+ if (Module::IsModuleActivate(
"com.bktus.gpgfrontend.module.integrated.gnupg_info_gathering")) {
gnupg_act_ = new QAction(tr("GnuPG"), this);
gnupg_act_->setIcon(QIcon(":/icons/help.png"));
@@ -436,7 +436,7 @@ void MainWindow::create_actions() {
connect(translate_act_, &QAction::triggered, this,
[=]() { new AboutDialog(tr("Translators"), this); });
- if (Module::IsModuleAcivate(
+ if (Module::IsModuleActivate(
"com.bktus.gpgfrontend.module.integrated.version_checking")) {
check_update_act_ = new QAction(tr("Check for Updates"), this);
check_update_act_->setIcon(QIcon(":/icons/help.png"));