From d571653c1e8bb9b132d2244ae8c5cc02bb9c2bd2 Mon Sep 17 00:00:00 2001 From: Phil Olynyk Date: Sat, 30 Mar 2019 13:43:37 -0400 Subject: [PATCH] Use qDebug to verify AppData folder --- oscar/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oscar/main.cpp b/oscar/main.cpp index 37af0b3c..50f29338 100644 --- a/oscar/main.cpp +++ b/oscar/main.cpp @@ -337,6 +337,7 @@ int main(int argc, char *argv[]) } else { settings.setValue("Settings/AppData", homeDocs + getModifiedAppData()); // set up new data directory path } + qDebug() << "First time: Setting " + GetAppData(); } QDir dir(GetAppData()); @@ -383,6 +384,8 @@ int main(int argc, char *argv[]) } // user wants a different folder } // user used --datadir folder to select a folder } // The folder doesn't exist + else + qDebug() << "AppData folder already exisits, so ..."; qDebug() << "Using " + GetAppData() + " as OSCAR data folder"; QDir newDir(GetAppData());