Qt: Remove unneeded second draws

This commit is contained in:
Jeffrey Pfau 2015-03-31 23:37:14 -07:00
parent 4fb121bbe0
commit 0d6cc88f9f
1 changed files with 0 additions and 3 deletions

View File

@ -153,7 +153,6 @@ void Painter::resize(const QSize& size) {
QWidget::resize(size); QWidget::resize(size);
if (m_drawTimer) { if (m_drawTimer) {
forceDraw(); forceDraw();
forceDraw();
} }
} }
@ -161,7 +160,6 @@ void Painter::lockAspectRatio(bool lock) {
m_lockAspectRatio = lock; m_lockAspectRatio = lock;
if (m_drawTimer) { if (m_drawTimer) {
forceDraw(); forceDraw();
forceDraw();
} }
} }
@ -176,7 +174,6 @@ void Painter::filter(bool filter) {
doneCurrent(); doneCurrent();
if (m_drawTimer) { if (m_drawTimer) {
forceDraw(); forceDraw();
forceDraw();
} }
} }