diff options
Diffstat (limited to 'pobfrontend-writable-user-dir.patch')
-rw-r--r-- | pobfrontend-writable-user-dir.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pobfrontend-writable-user-dir.patch b/pobfrontend-writable-user-dir.patch deleted file mode 100644 index 544df2670b24..000000000000 --- a/pobfrontend-writable-user-dir.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/pobwindow.hpp b/pobwindow.hpp -index cd88f54..7edec7f 100644 ---- a/pobwindow.hpp -+++ b/pobwindow.hpp -@@ -2,6 +2,7 @@ - #include <QDir> - #include <QOpenGLWindow> - #include <QPainter> -+#include <QStandardPaths> - #include <memory> - - #include "main.h" -@@ -30,10 +31,11 @@ public: - // theformat.setAlphaBufferSize(8); - // std::cout << theformat.hasAlpha() << std::endl; - // setFormat(theformat); -+ QString AppDataLocation = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); - scriptPath = QDir::currentPath(); - scriptWorkDir = QDir::currentPath(); - basePath = QDir::currentPath(); -- userPath = QDir::currentPath(); -+ userPath = AppDataLocation; - - fontFudge = 0; - } |