diff options
Diffstat (limited to 'examples/widgets/painting/deform/pathdeform.cpp')
-rw-r--r-- | examples/widgets/painting/deform/pathdeform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/painting/deform/pathdeform.cpp b/examples/widgets/painting/deform/pathdeform.cpp index 3c0624ac76..9f9a88700c 100644 --- a/examples/widgets/painting/deform/pathdeform.cpp +++ b/examples/widgets/painting/deform/pathdeform.cpp @@ -289,7 +289,7 @@ void PathDeformWidget::setStyle( QStyle * style ) return; m_controls->setStyle(style); - + QList<QWidget *> widgets = m_controls->findChildren<QWidget *>(); foreach (QWidget *w, widgets) w->setStyle(style); @@ -481,7 +481,7 @@ void PathDeformRenderer::mousePressEvent(QMouseEvent *e) m_offset = m_pos - e->pos(); m_mousePress = e->pos(); - + // If we're not running in small screen mode, always assume we're dragging m_mouseDrag = !m_smallScreen; |