projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix datatypes in the legacy handshake
[quassel.git]
/
src
/
qtui
/
settingspages
/
identityeditwidget.cpp
diff --git
a/src/qtui/settingspages/identityeditwidget.cpp
b/src/qtui/settingspages/identityeditwidget.cpp
index
f670753
..
b5a3dfa
100644
(file)
--- a/
src/qtui/settingspages/identityeditwidget.cpp
+++ b/
src/qtui/settingspages/identityeditwidget.cpp
@@
-25,6
+25,7
@@
#include <QDropEvent>
#include <QFileDialog>
#include <QUrl>
#include <QDropEvent>
#include <QFileDialog>
#include <QUrl>
+#include <QMessageBox>
#include "client.h"
#include "iconloader.h"
#include "client.h"
#include "iconloader.h"
@@
-340,6
+341,7
@@
QSslKey IdentityEditWidget::keyByFilename(const QString &filename)
goto returnKey;
}
}
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;
}
returnKey:
return key;
}