From 6f6bc52f820bd12327b3be77b2fe6ca4398ead72 Mon Sep 17 00:00:00 2001 From: Bas Pape Date: Thu, 16 May 2013 19:33:13 +0200 Subject: [PATCH 1/1] Show a message when failing to load the key file People got confused when quassel did not accept their keyfile; now a message is shown hinting at the possibility of a passphrase being present. --- src/qtui/settingspages/identityeditwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qtui/settingspages/identityeditwidget.cpp b/src/qtui/settingspages/identityeditwidget.cpp index f670753f..b5a3dfaa 100644 --- a/src/qtui/settingspages/identityeditwidget.cpp +++ b/src/qtui/settingspages/identityeditwidget.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include "client.h" #include "iconloader.h" @@ -340,6 +341,7 @@ QSslKey IdentityEditWidget::keyByFilename(const QString &filename) goto returnKey; } } + QMessageBox::information(this, tr("Failed to read key"), tr("Failed to read the key file. It is either incompatible or invalid. Note that the key file must not have a passphrase.")); returnKey: return key; } -- 2.20.1