diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-11 02:43:30 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-11 02:43:30 +0200 |
| commit | 72e4523e2fb27ee714c30c5aa135198f7b5d553d (patch) | |
| tree | 08dfb374835b66b67642955b658ea6f8c3de2295 /src/certificateselectiondialog.cpp | |
| parent | 2779c61e83491d1d798f3f494aa890e3f586245a (diff) | |
| download | kristall-72e4523e2fb27ee714c30c5aa135198f7b5d553d.tar.gz | |
Slight improvements for client certificate display, permanent certs are now selectable with double click and have icons, adds changelog into application itself: about:updates
Diffstat (limited to 'src/certificateselectiondialog.cpp')
| -rw-r--r-- | src/certificateselectiondialog.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/certificateselectiondialog.cpp b/src/certificateselectiondialog.cpp index e3aef35..66e758f 100644 --- a/src/certificateselectiondialog.cpp +++ b/src/certificateselectiondialog.cpp @@ -115,3 +115,13 @@ void CertificateSelectionDialog::on_use_selected_cert_clicked() qDebug() << "Tried to use an invalid identity when the button should not be enabled. This is a bug!"; } } + +void CertificateSelectionDialog::on_certificates_doubleClicked(const QModelIndex &index) +{ + this->cryto_identity = global_identities.getIdentity(index); + if(this->cryto_identity.isValid()) { + this->accept(); + } else { + qDebug() << "Tried to use an invalid identity when the button should not be enabled. This is a bug!"; + } +} |
