diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-25 11:25:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 11:35:21 +0200 |
commit | 291b05e4b209b79798a0f5615b50c1393fcf0961 (patch) | |
tree | 92a88478f7515942061d76498024ee6dde422efa /examples/painting | |
parent | 19e2b4d6eb733d9fd4eb69c0622b699fd08a3203 (diff) |
QApplication::syncX doesn't do anything in Qt 5 anymore
Change-Id: I325f8badeb5bd7120c691b49fdf51dc9b2649f68
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'examples/painting')
-rw-r--r-- | examples/painting/deform/pathdeform.cpp | 1 | ||||
-rw-r--r-- | examples/painting/pathstroke/pathstroke.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
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; |