-tray icon now greys out, when quassel is not connected
[quassel.git] / src / client / clientsyncer.cpp
index 2c2a5df..a4a4be8 100644 (file)
@@ -193,6 +193,7 @@ void ClientSyncer::clientInitAck(const QVariantMap &msg) {
       connect(sslSocket, SIGNAL(sslErrors(const QList<QSslError> &)), this, SLOT(sslErrors(const QList<QSslError> &)));
       sslSocket->startClientEncryption();
       emit encrypted(true);
+      Client::instance()->setSecuredConnection();
     } else {
       emit connectionError(tr("<b>The Quassel Core you are trying to connect to does not support SSL!</b><br />If you want to connect anyways, disable the usage of SSL in the account settings."));
       emit encrypted(false);