aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowUI.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-07-13 09:32:04 +0000
committerSaturneric <[email protected]>2023-07-13 09:32:04 +0000
commita20527f4ba85b462f936f4ee54d93752f9c70ebe (patch)
tree95ac504aca96ce4da4e84a700fc0c48869ecaccd /src/ui/main_window/MainWindowUI.cpp
parentfix: update ui file of KeyList (diff)
downloadGpgFrontend-a20527f4ba85b462f936f4ee54d93752f9c70ebe.tar.gz
GpgFrontend-a20527f4ba85b462f936f4ee54d93752f9c70ebe.zip
feat: support resotring unsaved pages after a crash
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r--src/ui/main_window/MainWindowUI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp
index 760561eb..d1a3cb68 100644
--- a/src/ui/main_window/MainWindowUI.cpp
+++ b/src/ui/main_window/MainWindowUI.cpp
@@ -433,6 +433,12 @@ void MainWindow::create_actions() {
connect(remove_key_from_favourtie_act_, &QAction::triggered, this,
&MainWindow::slot_remove_key_from_favourite);
+ set_owner_trust_of_key_act_ = new QAction(_("Set Owner Trust Level"), this);
+ set_owner_trust_of_key_act_->setToolTip(_("Set Owner Trust Level"));
+ set_owner_trust_of_key_act_->setData(QVariant("set_owner_trust_level"));
+ connect(set_owner_trust_of_key_act_, &QAction::triggered, this,
+ &MainWindow::slot_set_owner_trust_level_of_key);
+
/* Key-Shortcuts for Tab-Switchung-Action
*/
switch_tab_up_act_ = new QAction(this);