Commit 713699ec authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against last qt5.15 without deprecated method

parent 1720f471
...@@ -176,7 +176,7 @@ void KWalletConfig::newNetworkWallet() ...@@ -176,7 +176,7 @@ void KWalletConfig::newNetworkWallet()
void KWalletConfig::launchManager() void KWalletConfig::launchManager()
{ {
if (!QDBusConnection::sessionBus().interface()->isServiceRegistered(QStringLiteral("org.kde.kwalletmanager5"))) { if (!QDBusConnection::sessionBus().interface()->isServiceRegistered(QStringLiteral("org.kde.kwalletmanager5"))) {
QProcess::startDetached(QStringLiteral("kwalletmanager5 --show")); QProcess::startDetached(QStringLiteral("kwalletmanager5 --show"), QStringList());
} else { } else {
QDBusInterface kwalletd(QStringLiteral("org.kde.kwalletmanager5"), QStringLiteral("/kwalletmanager5/MainWindow_1")); QDBusInterface kwalletd(QStringLiteral("org.kde.kwalletmanager5"), QStringLiteral("/kwalletmanager5/MainWindow_1"));
kwalletd.call(QStringLiteral("show")); kwalletd.call(QStringLiteral("show"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment