updated paths

This commit is contained in:
itsmattkc
2019-01-05 23:43:38 +11:00
parent fcaed72865
commit 64c0f1e90d
4 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ QDebug debug_out(&debug_file);
void setup_debug() {
#ifndef QT_DEBUG
debug_file.setFileName(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/debug_log");
debug_file.setFileName(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/debug_log");
if (debug_file.open(QFile::WriteOnly)) {
QString debug_intro = "Olive Session " + QString::number(QDateTime::currentMSecsSinceEpoch());
debug_file.write(debug_intro.toUtf8());