Fix fallback resolution in WaylandCursorTheme

If we find an cursor we shouldn't return null.
This commit is contained in:
Martin Gräßlin 2016-02-25 14:05:20 +01:00
parent 166d282a9f
commit 6ae4775651

View file

@ -98,7 +98,6 @@ wl_cursor_image *WaylandCursorTheme::get(Qt::CursorShape shape)
break;
}
}
return nullptr;
}
if (!c || c->image_count <= 0) {
return nullptr;