0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/lxqt-config/liblxqt-config-cursor-xcr-xcrimg.cpp.patch

12 lines
571 B
Diff

--- a/liblxqt-config-cursor/xcr/xcrimg.cpp
+++ b/liblxqt-config-cursor/xcr/xcrimg.cpp
@@ -274,7 +274,7 @@
// Wayland: get default cursor size
QString path = QDir::home().absolutePath() + QStringLiteral("/.icons/default/index.theme");
if(! QFile::exists(path))
- path = QStringLiteral("/usr/share/icons/default/index.theme");
+ path = QStringLiteral("@TERMUX_PREFIX@/share/icons/default/index.theme");
if(! QFile::exists(path))
return size;
QSettings cursorTheme(path, QSettings::IniFormat);