mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-01 18:07:05 -04:00
Fix auto-restart when a space is in the file path
This commit is contained in:
parent
44f2d3a3c2
commit
13c86cbdc5
1 changed files with 1 additions and 2 deletions
|
@ -161,8 +161,7 @@ int main(int argc, char** argv)
|
|||
|
||||
// Check if restart was requested
|
||||
if (exitCode == RESTART_EXITCODE) {
|
||||
QProcess* proc = new QProcess();
|
||||
proc->start(QCoreApplication::applicationFilePath());
|
||||
QProcess::startDetached(QCoreApplication::applicationFilePath(), {});
|
||||
}
|
||||
|
||||
#if defined(WITH_ASAN) && defined(WITH_LSAN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue