mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02:00
Change logs location to tmp
So that they eventually get cleaned up
This commit is contained in:
parent
245e427dc5
commit
ee47a6d968
@ -64,7 +64,7 @@ void LoggingHandler::start()
|
||||
Q_ASSERT(!m_logFileName.isEmpty());
|
||||
|
||||
QDir directory;
|
||||
QString cacheDir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
|
||||
QString cacheDir = QStandardPaths::writableLocation(QStandardPaths::TempLocation);
|
||||
directory = QDir(cacheDir + "/ScreenPlay/Logs");
|
||||
if (!directory.exists()) {
|
||||
if (!directory.mkpath(directory.path())) {
|
||||
|
Loading…
Reference in New Issue
Block a user