diff options
author | Baptiste Careil | 2020-01-03 12:24:49 +0100 |
---|---|---|
committer | Baptiste Careil | 2020-01-03 12:24:49 +0100 |
commit | dd5f1c452cb10dacc871b08e73bc62389aed952b (patch) | |
tree | 812a1dee27289910e2977018ff0d899cd607505d /pobfrontend-writable-user-dir.patch | |
parent | 28456d81b1bd47cb17efd004553485122ec00fec (diff) | |
download | aur-dd5f1c452cb10dacc871b08e73bc62389aed952b.tar.gz |
Patched pobfrontend to store builds in user directory
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; - } |