diff --git a/wayland_cursor_theme.cpp b/wayland_cursor_theme.cpp index 4493c73f4b..3743249452 100644 --- a/wayland_cursor_theme.cpp +++ b/wayland_cursor_theme.cpp @@ -98,7 +98,6 @@ wl_cursor_image *WaylandCursorTheme::get(Qt::CursorShape shape) break; } } - return nullptr; } if (!c || c->image_count <= 0) { return nullptr;