Fix --replace option of daemon

This commit is contained in:
Matthijs Tijink 2019-07-20 19:53:17 +02:00
parent 796953d853
commit eabdb1ea37

View file

@ -123,7 +123,7 @@ int main(int argc, char* argv[])
parser.process(app); parser.process(app);
aboutData.processCommandLine(&parser); aboutData.processCommandLine(&parser);
if (parser.isSet(replaceOption)) { if (parser.isSet(replaceOption)) {
auto message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.kdeconnectd"), auto message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.kdeconnect"),
QStringLiteral("/MainApplication"), QStringLiteral("/MainApplication"),
QStringLiteral("org.qtproject.Qt.QCoreApplication"), QStringLiteral("org.qtproject.Qt.QCoreApplication"),
QStringLiteral("quit")); QStringLiteral("quit"));