Print a qCritical in addition to showing a notification

This commit is contained in:
Albert Vaca 2016-11-24 15:11:30 +01:00
parent 73c6e1a306
commit 7638683c85

View file

@ -64,6 +64,7 @@ KdeConnectConfig::KdeConnectConfig()
{ {
//qCDebug(KDECONNECT_CORE) << "QCA supported capabilities:" << QCA::supportedFeatures().join(","); //qCDebug(KDECONNECT_CORE) << "QCA supported capabilities:" << QCA::supportedFeatures().join(",");
if(!QCA::isSupported("rsa")) { if(!QCA::isSupported("rsa")) {
qCritical() << "Could not find support for RSA in your QCA installation";
Daemon::instance()->reportError( Daemon::instance()->reportError(
i18n("KDE Connect failed to start"), i18n("KDE Connect failed to start"),
i18n("Could not find support for RSA in your QCA installation. If your " i18n("Could not find support for RSA in your QCA installation. If your "