mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-13 01:59:22 -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
|
// Check if restart was requested
|
||||||
if (exitCode == RESTART_EXITCODE) {
|
if (exitCode == RESTART_EXITCODE) {
|
||||||
QProcess* proc = new QProcess();
|
QProcess::startDetached(QCoreApplication::applicationFilePath(), {});
|
||||||
proc->start(QCoreApplication::applicationFilePath());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(WITH_ASAN) && defined(WITH_LSAN)
|
#if defined(WITH_ASAN) && defined(WITH_LSAN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue