aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1c0dc9e..1f37d5d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -13,6 +13,7 @@
#include "ioutil.hpp"
#include "kristall.hpp"
+#include "certificatemanagementdialog.hpp"
MainWindow::MainWindow(QApplication * app, QWidget *parent) :
QMainWindow(parent),
@@ -41,12 +42,8 @@ MainWindow::MainWindow(QApplication * app, QWidget *parent) :
ui->favourites_view->setModel(&favourites);
- ui->clientcert_view->setModel(&global_identities);
- ui->clientcert_view->expandAll();
-
this->ui->outline_window->setVisible(false);
this->ui->history_window->setVisible(false);
- this->ui->clientcert_window->setVisible(false);
this->ui->bookmarks_window->setVisible(false);
for(QDockWidget * dock : findChildren<QDockWidget *>())
@@ -464,3 +461,12 @@ void MainWindow::on_actionChangelog_triggered()
{
this->addNewTab(true, QUrl("about:updates"));
}
+
+void MainWindow::on_actionManage_Certificates_triggered()
+{
+ CertificateManagementDialog dialog { this };
+
+ dialog.exec();
+
+ this->saveSettings();
+}