QApplication::syncX doesn't do anything in Qt 5 anymore

Change-Id: I325f8badeb5bd7120c691b49fdf51dc9b2649f68
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
bb10
Thiago Macieira 2012-05-25 11:25:40 +02:00 committed by Qt by Nokia
parent 19e2b4d6eb
commit 291b05e4b2
2 changed files with 0 additions and 2 deletions

View File

@ -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()) {

View File

@ -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;