Commit 285b16df authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against last qt5.15 without deprecated method

parent ce608990
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <QDBusConnection> #include <QDBusConnection>
#include <QDBusInterface> #include <QDBusInterface>
#include <QProcess>
#include <QStandardPaths> #include <QStandardPaths>
using namespace KPIM; using namespace KPIM;
...@@ -50,7 +51,7 @@ void ReminderClient::startDaemon() ...@@ -50,7 +51,7 @@ void ReminderClient::startDaemon()
qCWarning(KDEPIMDBUSINTERFACE_LOG) << "Failure starting korgac:" << error; qCWarning(KDEPIMDBUSINTERFACE_LOG) << "Failure starting korgac:" << error;
// try harder... // try harder...
const QString korgacExe = QStandardPaths::findExecutable(QStringLiteral("korgac")); const QString korgacExe = QStandardPaths::findExecutable(QStringLiteral("korgac"));
QProcess::startDetached(korgacExe); QProcess::startDetached(korgacExe, QStringList());
} }
} }
} }
......
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