QApplication::syncX doesn't do anything in Qt 5 anymore
Change-Id: I325f8badeb5bd7120c691b49fdf51dc9b2649f68 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>bb10
parent
19e2b4d6eb
commit
291b05e4b2
|
|
@ -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()) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue