1
0
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:
Elias Steurer 2024-07-14 15:44:29 +02:00
parent 245e427dc5
commit ee47a6d968

View File

@ -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())) {