Commit e20f0966 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

scenes/qpainter: Fix software cursor check in paintCursor()

Hopefully this will fix SceneQPainterTest.
parent 4b8b8b76
Pipeline #123192 passed with stage
in 21 minutes and 11 seconds
......@@ -107,7 +107,7 @@ void SceneQPainter::paintBackground(const QRegion &region)
void SceneQPainter::paintCursor(AbstractOutput *output, const QRegion &rendered)
{
if (!output || output->usesSoftwareCursor() || Cursors::self()->isCursorHidden()) {
if (!output || !output->usesSoftwareCursor() || Cursors::self()->isCursorHidden()) {
return;
}
......
Supports Markdown
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