diff --git a/src/globals.h b/src/globals.h index 90c4b7e4..1e68ae63 100755 --- a/src/globals.h +++ b/src/globals.h @@ -41,7 +41,7 @@ #define HYPERLINKSTYLE "QPushButton { color: lightblue; } QPushButton::hover { color: #BC810C; } " -#define TEMPPATH QDir::toNativeSeparators(QDir::temp().absolutePath()) + "/PacketSender/" +//#define TEMPPATH QDir::toNativeSeparators(QDir::temp().absolutePath()) + "/PacketSender/" #define SETTINGSPATH QStandardPaths::writableLocation( QStandardPaths::GenericDataLocation )+ "/PacketSender/" //Load local file if it exists or if portablemode.txt exists diff --git a/src/main.cpp b/src/main.cpp index 17088421..f7c5bdbf 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -168,7 +168,6 @@ int main(int argc, char *argv[]) //Create the settings folders if they do not exist QDir mdir; - mdir.mkpath(TEMPPATH); mdir.mkpath(SETTINGSPATH);