summaryrefslogtreecommitdiffstats
path: root/examples/multitouch/fingerpaint/scribblearea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multitouch/fingerpaint/scribblearea.cpp')
-rw-r--r--examples/multitouch/fingerpaint/scribblearea.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/multitouch/fingerpaint/scribblearea.cpp b/examples/multitouch/fingerpaint/scribblearea.cpp
index ffff9bb..71fbd19 100644
--- a/examples/multitouch/fingerpaint/scribblearea.cpp
+++ b/examples/multitouch/fingerpaint/scribblearea.cpp
@@ -206,12 +206,10 @@ bool ScribbleArea::event(QEvent *event)
break;
}
}
-
- event->accept();
- return true;
+ break;
}
default:
- break;
+ return QWidget::event(event);
}
- return QWidget::event(event);
+ return true;
}