Fix --replace option of daemon
This commit is contained in:
parent
796953d853
commit
eabdb1ea37
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||||
|
|
Loading…
Reference in a new issue