biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / qcad / application-dir.patch
blob84782e1e7178f8e515c078f82484849e9c702216
1 diff --git a/src/core/RS.cpp b/src/core/RS.cpp
2 index d8a135d6f..659795dbb 100644
3 --- a/src/core/RS.cpp
4 +++ b/src/core/RS.cpp
5 @@ -151,7 +151,7 @@ QStringList RS::getDirectoryList(const QString& subDirectory) {
6 dirList.append(appDir + "/../../../" + subDirectory);
7 dirList.append(QDir::currentPath() + "/" + subDirectory);
8 #else
9 - dirList.append(appDir + "/" + subDirectory);
10 + dirList.append(appDir + "/../lib/" + subDirectory);
11 #endif
14 diff --git a/src/core/RSettings.cpp b/src/core/RSettings.cpp
15 index c6c31cbf5..c51b59ce6 100644
16 --- a/src/core/RSettings.cpp
17 +++ b/src/core/RSettings.cpp
18 @@ -367,6 +367,8 @@ QString RSettings::getApplicationPath() {
19 ret.cdUp();
22 + ret.cd("../lib");
24 return ret.path();
27 @@ -1268,7 +1270,7 @@ QString RSettings::getRevisionString() {
30 QString RSettings::getReleaseDate() {
31 - return __DATE__;
32 + return "";
35 int RSettings::getSnapRange() {