diff options
Diffstat (limited to 'examples/widgets/painting/pathstroke/pathstroke.cpp')
-rw-r--r-- | examples/widgets/painting/pathstroke/pathstroke.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/painting/pathstroke/pathstroke.cpp b/examples/widgets/painting/pathstroke/pathstroke.cpp index a8b87f51f4..6807585f57 100644 --- a/examples/widgets/painting/pathstroke/pathstroke.cpp +++ b/examples/widgets/painting/pathstroke/pathstroke.cpp @@ -380,7 +380,7 @@ void PathStrokeWidget::setStyle( QStyle * style ) if (m_controls != 0) { m_controls->setStyle(style); - + QList<QWidget *> widgets = m_controls->findChildren<QWidget *>(); foreach (QWidget *w, widgets) w->setStyle(style); @@ -544,7 +544,7 @@ void PathStrokeRenderer::mousePressEvent(QMouseEvent *e) setAnimation(false); mouseMoveEvent(e); } - + // If we're not running in small screen mode, always assume we're dragging m_mouseDrag = !m_smallScreen; m_mousePress = e->pos(); |