mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
25c3d0da53
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
36 lines
945 B
Diff
36 lines
945 B
Diff
diff --git a/src/core/RS.cpp b/src/core/RS.cpp
|
|
index d8a135d6f..659795dbb 100644
|
|
--- a/src/core/RS.cpp
|
|
+++ b/src/core/RS.cpp
|
|
@@ -151,7 +151,7 @@ QStringList RS::getDirectoryList(const QString& subDirectory) {
|
|
dirList.append(appDir + "/../../../" + subDirectory);
|
|
dirList.append(QDir::currentPath() + "/" + subDirectory);
|
|
#else
|
|
- dirList.append(appDir + "/" + subDirectory);
|
|
+ dirList.append(appDir + "/../lib/" + subDirectory);
|
|
#endif
|
|
|
|
/*
|
|
diff --git a/src/core/RSettings.cpp b/src/core/RSettings.cpp
|
|
index c6c31cbf5..c51b59ce6 100644
|
|
--- a/src/core/RSettings.cpp
|
|
+++ b/src/core/RSettings.cpp
|
|
@@ -367,6 +367,8 @@ QString RSettings::getApplicationPath() {
|
|
ret.cdUp();
|
|
}
|
|
|
|
+ ret.cd("../lib");
|
|
+
|
|
return ret.path();
|
|
}
|
|
|
|
@@ -1268,7 +1270,7 @@ QString RSettings::getRevisionString() {
|
|
}
|
|
|
|
QString RSettings::getReleaseDate() {
|
|
- return __DATE__;
|
|
+ return "";
|
|
}
|
|
|
|
int RSettings::getSnapRange() {
|