mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: Don't need arguments
This commit is contained in:
parent
84934d3bee
commit
887eee427d
1 changed files with 2 additions and 2 deletions
|
@ -256,14 +256,14 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
#ifndef _DEBUG
|
#ifndef _DEBUG
|
||||||
// restart more recent installed Installer version
|
// restart more recent installed Installer version
|
||||||
if (QProcess::startDetached(config.getInstallerInstalledFilePath(), QApplication::arguments())) return 0;
|
if (QProcess::startDetached(config.getInstallerInstalledFilePath())) return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (step == Done)
|
else if (step == Done)
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_WIN) && !defined(_DEBUG)
|
#if defined(Q_OS_WIN) && !defined(_DEBUG)
|
||||||
// restart Installer, so it could be copied in TEMP and allowed to update itself
|
// restart Installer, so it could be copied in TEMP and allowed to update itself
|
||||||
if (QProcess::startDetached(QApplication::applicationFilePath(), QApplication::arguments())) return 0;
|
if (QProcess::startDetached(QApplication::applicationFilePath())) return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue