projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: ChatViewSettings check before reload Qss
[quassel.git]
/
src
/
core
/
coreidentity.cpp
diff --git
a/src/core/coreidentity.cpp
b/src/core/coreidentity.cpp
index
02c2ca4
..
b7cd6d0
100644
(file)
--- a/
src/core/coreidentity.cpp
+++ b/
src/core/coreidentity.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
5
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-77,6
+77,10
@@
void CoreIdentity::synchronize(SignalProxy *proxy)
void CoreIdentity::setSslKey(const QByteArray &encoded)
{
QSslKey key(encoded, QSsl::Rsa);
void CoreIdentity::setSslKey(const QByteArray &encoded)
{
QSslKey key(encoded, QSsl::Rsa);
+#if QT_VERSION >= 0x050500
+ if (key.isNull())
+ key = QSslKey(encoded, QSsl::Ec);
+#endif
if (key.isNull())
key = QSslKey(encoded, QSsl::Dsa);
setSslKey(key);
if (key.isNull())
key = QSslKey(encoded, QSsl::Dsa);
setSslKey(key);