aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-11 02:17:32 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-11 02:17:32 +0200
commit2779c61e83491d1d798f3f494aa890e3f586245a (patch)
treec09e6e77efd85465a331a65f5f8d73dd450d6b4f /src/mainwindow.cpp
parentab3e5ad5f25862985c17ba557163a1902b54747f (diff)
downloadkristall-2779c61e83491d1d798f3f494aa890e3f586245a.tar.gz
Adds first draft of client certificate management.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4cd1919..9a56133 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -39,6 +39,9 @@ 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);
@@ -143,6 +146,10 @@ void MainWindow::saveSettings()
this->favourites.save(global_settings);
this->protocols.save(global_settings);
+ global_settings.beginGroup("Client Identities");
+ global_identities.save(global_settings);
+ global_settings.endGroup();
+
global_settings.beginGroup("Theme");
this->current_style.save(global_settings);
global_settings.endGroup();