aboutsummaryrefslogtreecommitdiff
path: root/deskutils/vnote/files/patch-src_core_configmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/vnote/files/patch-src_core_configmgr.cpp')
-rw-r--r--deskutils/vnote/files/patch-src_core_configmgr.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/vnote/files/patch-src_core_configmgr.cpp b/deskutils/vnote/files/patch-src_core_configmgr.cpp
new file mode 100644
index 000000000000..8c2c905f2057
--- /dev/null
+++ b/deskutils/vnote/files/patch-src_core_configmgr.cpp
@@ -0,0 +1,11 @@
+--- src/core/configmgr.cpp.orig 2024-08-06 13:56:46 UTC
++++ src/core/configmgr.cpp
+@@ -576,7 +576,7 @@ void ConfigMgr::initAppPrefixPath()
+ QStringList potential_dirs;
+ auto app_dir_path = QCoreApplication::applicationDirPath();
+ qInfo() << "app prefix path: " << app_dir_path;
+- potential_dirs << app_dir_path;
++ potential_dirs << app_dir_path << "%%DATADIR%%";
+
+ #if defined(Q_OS_LINUX)
+ QDir localBinDir(app_dir_path);