Prefer up-arrow cursor shape

That's what breeze only has.
This commit is contained in:
Vlad Zahorodnii 2024-02-02 15:30:16 +02:00
parent c9c84b6859
commit a472c90327

View file

@ -351,10 +351,11 @@ QList<QByteArray> Cursor::cursorAlternativeNames(const QByteArray &name)
}, },
}, },
{ {
QByteArrayLiteral("up_arrow"), QByteArrayLiteral("up-arrow"),
{ {
QByteArrayLiteral("center_ptr"), QByteArrayLiteral("up_arrow"),
QByteArrayLiteral("sb_up_arrow"), QByteArrayLiteral("sb_up_arrow"),
QByteArrayLiteral("center_ptr"),
QByteArrayLiteral("centre_ptr"), QByteArrayLiteral("centre_ptr"),
}, },
}, },
@ -634,7 +635,7 @@ QByteArray CursorShape::name() const
case Qt::ArrowCursor: case Qt::ArrowCursor:
return QByteArrayLiteral("default"); return QByteArrayLiteral("default");
case Qt::UpArrowCursor: case Qt::UpArrowCursor:
return QByteArrayLiteral("up_arrow"); return QByteArrayLiteral("up-arrow");
case Qt::CrossCursor: case Qt::CrossCursor:
return QByteArrayLiteral("crosshair"); return QByteArrayLiteral("crosshair");
case Qt::WaitCursor: case Qt::WaitCursor: