File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
pkgs/applications/audio/jamesdsp Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
4949 hash = "sha256-RtVKlw2ca8An4FodeD0RN95z9yHDHBgAxsEwLAmW7co=" ;
5050 name = "fix-build-with-new-pipewire.patch" ;
5151 } )
52+ ./fix-build-on-qt6_9.diff
5253 ] ;
5354
5455 buildInputs =
Original file line number Diff line number Diff line change 1+ diff --git a/src/subprojects/AutoEqIntegration/AeqPackageManager.cpp b/src/subprojects/AutoEqIntegration/AeqPackageManager.cpp
2+ index 01940a1..2ec9c5b 100644
3+ --- a/src/subprojects/AutoEqIntegration/AeqPackageManager.cpp
4+ +++ b/src/subprojects/AutoEqIntegration/AeqPackageManager.cpp
5+ @@ -133,7 +133,7 @@ QtPromise::QPromise<AeqVersion> AeqPackageManager::getLocalVersion()
6+ return QtPromise::QPromise<AeqVersion>{[&](
7+ const QtPromise::QPromiseResolve<AeqVersion>& resolve,
8+ const QtPromise::QPromiseReject<AeqVersion>& reject) {
9+ - QFile versionJson = (databaseDirectory() + "/version.json");
10+ + QFile versionJson(databaseDirectory() + "/version.json");
11+ if(!versionJson.exists())
12+ {
13+ reject();
14+ @@ -159,7 +159,7 @@ QtPromise::QPromise<QVector<AeqMeasurement>> AeqPackageManager::getLocalIndex()
15+ return QtPromise::QPromise<QVector<AeqMeasurement>>{[&](
16+ const QtPromise::QPromiseResolve<QVector<AeqMeasurement>>& resolve,
17+ const QtPromise::QPromiseReject<QVector<AeqMeasurement>>& reject) {
18+ - QFile indexJson = (databaseDirectory() + "/index.json");
19+ + QFile indexJson(databaseDirectory() + "/index.json");
20+ if(!indexJson.exists())
21+ {
22+ reject();
You can’t perform that action at this time.
0 commit comments