From 25c27e131204c2d346c31d7ea54dfa41b34f9314 Mon Sep 17 00:00:00 2001 From: Dan Nagle Date: Fri, 25 Oct 2024 13:43:55 -0500 Subject: [PATCH] remove unused temp path directory creation, attempt 2 --- src/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f7c5bdbf..22fa6116 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -167,9 +167,10 @@ int main(int argc, char *argv[]) } //Create the settings folders if they do not exist - QDir mdir; - mdir.mkpath(SETTINGSPATH); - + if(!QFile::exists("portablemode.txt")) { + QDir mdir; + mdir.mkpath(SETTINGSPATH); + } //this is stored as base64 so smart git repos //do not complain about shipping a private key.