aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-12 17:22:43 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-12 17:22:43 +0200
commit4f8f8fc2a9450982078f18d49ddfa9036023bc29 (patch)
tree6c0452651d4954c65a1542d46aaaebeef47da64d /src/mainwindow.cpp
parent79e62a80579c5669542c65d1e9e7b31dc3872137 (diff)
downloadkristall-4f8f8fc2a9450982078f18d49ddfa9036023bc29.tar.gz
Adds certificate manager, removes client certificate window.
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();
+}