libkscreen: use QLatin1String instead of QStringLiteral
QStringLiteral stores strings in UTF-16 format, preventing Nix from detecting dependencies.
This commit is contained in:
parent
acc45767c5
commit
d9094c087e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue