From b2f574b7e6f7aaed45f3610ff294a82fc229d510 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 26 Jan 2022 08:41:47 +0100 Subject: [PATCH] restart feature now also uses cmdline args --- src/librssguard/miscellaneous/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librssguard/miscellaneous/application.cpp b/src/librssguard/miscellaneous/application.cpp index 4c3df605c..41112e29b 100644 --- a/src/librssguard/miscellaneous/application.cpp +++ b/src/librssguard/miscellaneous/application.cpp @@ -603,7 +603,7 @@ void Application::onAboutToQuit() { qDebugNN << LOGSEC_CORE << "Killing local peer connection to allow another instance to start."; if (QProcess::startDetached(QDir::toNativeSeparators(applicationFilePath()), - arguments())) { + arguments().mid(1))) { qDebugNN << LOGSEC_CORE << "New application instance was started."; } else {