diff options
Diffstat (limited to 'user/phonon/qt59.patch')
-rw-r--r-- | user/phonon/qt59.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/phonon/qt59.patch b/user/phonon/qt59.patch new file mode 100644 index 000000000..0ee5d017f --- /dev/null +++ b/user/phonon/qt59.patch @@ -0,0 +1,15 @@ +--- phonon-4.11.1/phonon/factory.cpp.old 2019-09-26 10:29:38.000000000 +0000 ++++ phonon-4.11.1/phonon/factory.cpp 2019-09-30 21:07:16.417472319 +0000 +@@ -474,7 +474,11 @@ + } + + // Apply PHONON_BACKEND override if set. +- const QString backendEnv = qEnvironmentVariable("PHONON_BACKEND"); ++ const QByteArray backendVal = qgetenv("PHONON_BACKEND"); ++ if (backendVal.isNull()) { ++ return backendList; ++ } ++ const QString backendEnv = QString::fromLocal8Bit(backendVal); + if (backendEnv.isEmpty()) { + return backendList; + } |