aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/UserInterfaceUtils.cpp3
-rw-r--r--src/ui/main_window/MainWindowUI.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index dcc14f50..80b6f482 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -127,7 +127,10 @@ void process_operation(QWidget *parent, const std::string &waiting_title,
QApplication::connect(process_task, &Thread::Task::SignalTaskEnd, dialog,
&QDialog::close);
+ QApplication::connect(process_task, &Thread::Task::SignalTaskEnd, dialog,
+ &QDialog::deleteLater);
+ // a looper to wait for the operation
QEventLoop looper;
QApplication::connect(process_task, &Thread::Task::SignalTaskEnd, &looper,
&QEventLoop::quit);
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp
index 36aa2f12..d1a72c83 100644
--- a/src/ui/main_window/MainWindowUI.cpp
+++ b/src/ui/main_window/MainWindowUI.cpp
@@ -331,7 +331,7 @@ void MainWindow::create_actions() {
}
});
- gnupg_controller_open_act_ = new QAction(_("GnuPG Controller"), this);
+ gnupg_controller_open_act_ = new QAction(_("Open GnuPG Controller"), this);
gnupg_controller_open_act_->setIcon(QIcon(":configure.png"));
gnupg_controller_open_act_->setToolTip(_("Open GnuPG Controller Dialog"));
connect(gnupg_controller_open_act_, &QAction::triggered, this,