From 291b05e4b209b79798a0f5615b50c1393fcf0961 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 25 May 2012 11:25:40 +0200 Subject: QApplication::syncX doesn't do anything in Qt 5 anymore Change-Id: I325f8badeb5bd7120c691b49fdf51dc9b2649f68 Reviewed-by: Olivier Goffart --- examples/painting/deform/pathdeform.cpp | 1 - examples/painting/pathstroke/pathstroke.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'examples/painting') diff --git a/examples/painting/deform/pathdeform.cpp b/examples/painting/deform/pathdeform.cpp index f91778337f..d5880fb786 100644 --- a/examples/painting/deform/pathdeform.cpp +++ b/examples/painting/deform/pathdeform.cpp @@ -471,7 +471,6 @@ void PathDeformRenderer::timerEvent(QTimerEvent *e) { QRect rectAfter = circle_bounds(m_pos, m_radius, m_fontSize); update(rectAfter | rectBefore); - QApplication::syncX(); } } // else if (e->timerId() == m_fpsTimer.timerId()) { diff --git a/examples/painting/pathstroke/pathstroke.cpp b/examples/painting/pathstroke/pathstroke.cpp index dd0de4746b..76495cafea 100644 --- a/examples/painting/pathstroke/pathstroke.cpp +++ b/examples/painting/pathstroke/pathstroke.cpp @@ -582,7 +582,6 @@ void PathStrokeRenderer::timerEvent(QTimerEvent *e) { if (e->timerId() == m_timer.timerId()) { updatePoints(); - QApplication::syncX(); } // else if (e->timerId() == m_fpsTimer.timerId()) { // emit frameRate(m_frameCount); // m_frameCount = 0; -- cgit v1.2.3