libkscreen: use QLatin1String instead of QStringLiteral

QStringLiteral stores strings in UTF-16 format, preventing Nix from detecting
dependencies.
This commit is contained in:
Thomas Tuegel
2017-05-23 11:01:19 -05:00
parent acc45767c5
commit d9094c087e

View File

@@ -17,7 +17,7 @@ Index: libkscreen-5.9.4/src/backendmanager.cpp
- finfos.append(dir.entryInfoList());
- }
- return finfos;
+ const QDir dir(QStringLiteral(NIXPKGS_LIBKSCREEN_BACKENDS),
+ const QDir dir(QLatin1String(NIXPKGS_LIBKSCREEN_BACKENDS),
+ QStringLiteral("KSC_*"),
+ QDir::SortFlags(QDir::QDir::Name),
+ QDir::NoDotAndDotDot | QDir::Files);