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