From 6ae4775651dbf8b1a608edd8e3a227a98b20ae74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 25 Feb 2016 14:05:20 +0100 Subject: [PATCH] Fix fallback resolution in WaylandCursorTheme If we find an cursor we shouldn't return null. --- wayland_cursor_theme.cpp | 1 - 1 file changed, 1 deletion(-) 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;