scenes/qpainter: Fix software cursor check in paintCursor()
Hopefully this will fix SceneQPainterTest.
This commit is contained in:
parent
4b8b8b7652
commit
e20f09666b
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ void SceneQPainter::paintBackground(const QRegion ®ion)
|
|||
|
||||
void SceneQPainter::paintCursor(AbstractOutput *output, const QRegion &rendered)
|
||||
{
|
||||
if (!output || output->usesSoftwareCursor() || Cursors::self()->isCursorHidden()) {
|
||||
if (!output || !output->usesSoftwareCursor() || Cursors::self()->isCursorHidden()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue