diff options
author | Daniel Bermond | 2021-11-22 13:05:24 -0300 |
---|---|---|
committer | Daniel Bermond | 2021-11-22 13:05:24 -0300 |
commit | b9badae16ed4c9150bc27b578beab652ae553308 (patch) | |
tree | ddd8084a5869c8a4ccb7f0a0c2c7b4ba990f0a44 /030-m64p-fix-paths.patch | |
parent | 2d4856cf90b88fe8e23e88a2981476701d18781b (diff) | |
download | aur-b9badae16ed4c9150bc27b578beab652ae553308.tar.gz |
Update to version 20211122
Diffstat (limited to '030-m64p-fix-paths.patch')
-rw-r--r-- | 030-m64p-fix-paths.patch | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/030-m64p-fix-paths.patch b/030-m64p-fix-paths.patch index 1a4a392ee8c9..b6ce57c65d24 100644 --- a/030-m64p-fix-paths.patch +++ b/030-m64p-fix-paths.patch @@ -8,22 +8,16 @@ #include "settingsdialog.h" #include "plugindialog.h" #include "mainwindow.h" -@@ -371,11 +372,11 @@ MainWindow::MainWindow(QWidget *parent) : +@@ -370,7 +371,7 @@ MainWindow::MainWindow(QWidget *parent) : updatePIF(ui); - if (!settings->contains("coreLibPath")) -- settings->setValue("coreLibPath", "$APP_PATH$"); -+ settings->setValue("coreLibPath", "/usr/lib"); - if (!settings->contains("pluginDirPath")) -- settings->setValue("pluginDirPath", "$APP_PATH$"); -+ settings->setValue("pluginDirPath", "/usr/lib/mupen64plus"); if (!settings->contains("configDirPath")) - settings->setValue("configDirPath", "$CONFIG_PATH$"); + settings->setValue("configDirPath", QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + "/mupen64plus"); - #ifdef CORE_LIBRARY_PATH - settings->setValue("coreLibPath", CORE_LIBRARY_PATH); -@@ -438,7 +439,7 @@ void MainWindow::updateApp() + #ifdef CONFIG_DIR_PATH + settings->setValue("configDirPath", CONFIG_DIR_PATH); +@@ -430,7 +431,7 @@ void MainWindow::updateApp() void MainWindow::setupDiscord() { |