restart feature now also uses cmdline args
This commit is contained in:
parent
45381aad3a
commit
b2f574b7e6
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ void Application::onAboutToQuit() {
|
||||||
qDebugNN << LOGSEC_CORE << "Killing local peer connection to allow another instance to start.";
|
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())) {
|
arguments().mid(1))) {
|
||||||
qDebugNN << LOGSEC_CORE << "New application instance was started.";
|
qDebugNN << LOGSEC_CORE << "New application instance was started.";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue