Core: Add wrapper function Application::applicationPid()

This commit is contained in:
wmayer
2024-11-01 15:48:01 +01:00
parent 7820ca7f73
commit c6f083b3e7
5 changed files with 18 additions and 8 deletions

View File

@@ -2176,7 +2176,7 @@ void tryRunEventLoop(GUISingleApplication& mainApp)
out << App::Application::getUserCachePath()
<< App::Application::getExecutableName()
<< "_"
<< QCoreApplication::applicationPid()
<< App::Application::applicationPid()
<< ".lock";
// open a lock file with the PID