App: standard path handling
* distinguish between temp and cache location * document's transident directory is created in the cache location * add functions to access temp and cache location via Python
This commit is contained in:
@@ -2267,7 +2267,7 @@ void Application::runApplication(void)
|
||||
|
||||
try {
|
||||
std::stringstream s;
|
||||
s << App::Application::getTempPath() << App::Application::getExecutableName()
|
||||
s << App::Application::getUserCachePath() << App::Application::getExecutableName()
|
||||
<< "_" << QCoreApplication::applicationPid() << ".lock";
|
||||
// open a lock file with the PID
|
||||
Base::FileInfo fi(s.str());
|
||||
|
||||
Reference in New Issue
Block a user