mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-11 15:29:51 -05:00
Fix auto-restart when a space is in the file path
This commit is contained in:
parent
44f2d3a3c2
commit
13c86cbdc5
@ -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…
Reference in New Issue
Block a user