mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
This needs patching to consider the installed location (e.g. share/) as a source of data, rather than the installed location of the binary.
11 lines
396 B
C++
11 lines
396 B
C++
--- src/json.cpp.orig 2022-02-20 12:59:53 UTC
|
|
+++ src/json.cpp
|
|
@@ -36,7 +36,7 @@ bool MainWindow::json_Read(Config trail)
|
|
{
|
|
bool ok = true;
|
|
|
|
- m_appPath = QCoreApplication::applicationDirPath();
|
|
+ m_appPath = DIAMOND_SHARE_DIR; // QCoreApplication::applicationDirPath();
|
|
|
|
QSettings settings("Diamond Editor", "Settings");
|
|
m_jsonFname = settings.value("configName").toString();
|