Add fallback cursor shape for "default" shape

Some cursor themes don't have "default" shape, so fallback to "left_ptr"
with such themes.

BUG: 477476
This commit is contained in:
Vlad Zahorodnii 2024-02-02 12:33:57 +02:00
parent ee782c8a91
commit cc2e6fc96c

View file

@ -349,6 +349,12 @@ QList<QByteArray> Cursor::cursorAlternativeNames(const QByteArray &name)
QByteArrayLiteral("cross-reverse"),
},
},
{
QByteArrayLiteral("default"),
{
QByteArrayLiteral("left_ptr"),
},
},
{
QByteArrayLiteral("up_arrow"),
{