Skip to content

Commit

Permalink
remove unused temp path directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Oct 25, 2024
1 parent ce0a006 commit 2bab592
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down

0 comments on commit 2bab592

Please sign in to comment.