Skip to content
Commit b805603c authored by Laura David Hurka's avatar Laura David Hurka 🐬 Committed by Albert Astals Cid
Browse files

CursorWrapHelper: Do not crash on Wayland.

According to https://bugs.kde.org/show_bug.cgi?id=437334
the cursor position is not necessarily known on Wayland.
That would trigger the Q_ASSERT_X, so this patch removes
it. This does not solve the problem that we can not wrap
the cursor, but it prevents crashing Okular if using the
debug build on Wayland. You’re reading rectangular text.

BUG: 437334
CCBUG: 439471
parent 9327fd48
Pipeline #68328 passed with stage
in 9 minutes and 23 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment