Changeset View
Changeset View
Standalone View
Standalone View
core/kdeconnectconfig.cpp
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 62 | KdeConnectConfig::KdeConnectConfig() | |||
---|---|---|---|---|---|
63 | : d(new KdeConnectConfigPrivate) | 63 | : d(new KdeConnectConfigPrivate) | ||
64 | { | 64 | { | ||
65 | //qCDebug(KDECONNECT_CORE) << "QCA supported capabilities:" << QCA::supportedFeatures().join(","); | 65 | //qCDebug(KDECONNECT_CORE) << "QCA supported capabilities:" << QCA::supportedFeatures().join(","); | ||
66 | if(!QCA::isSupported("rsa")) { | 66 | if(!QCA::isSupported("rsa")) { | ||
67 | qCritical() << "Could not find support for RSA in your QCA installation"; | 67 | qCritical() << "Could not find support for RSA in your QCA installation"; | ||
68 | Daemon::instance()->reportError( | 68 | Daemon::instance()->reportError( | ||
69 | i18n("KDE Connect failed to start"), | 69 | i18n("KDE Connect failed to start"), | ||
70 | i18n("Could not find support for RSA in your QCA installation. If your " | 70 | i18n("Could not find support for RSA in your QCA installation. If your " | ||
71 | "distribution provides separate packages for QCA-ossl and QCA-gnupg, " | 71 | "distribution provides separate packets for QCA-ossl and QCA-gnupg, " | ||
72 | "make sure you have them installed and try again.")); | 72 | "make sure you have them installed and try again.")); | ||
73 | return; | 73 | return; | ||
74 | } | 74 | } | ||
75 | 75 | | |||
76 | //Make sure base directory exists | 76 | //Make sure base directory exists | ||
77 | QDir().mkpath(baseConfigDir().path()); | 77 | QDir().mkpath(baseConfigDir().path()); | ||
78 | 78 | | |||
79 | //.config/kdeconnect/config | 79 | //.config/kdeconnect/config | ||
▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines |