mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 14:36:07 -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
|
// 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…
x
Reference in New Issue
Block a user