diff options
author | Fabien Freling <fabien.freling@nokia.com> | 2011-01-26 15:17:13 (GMT) |
---|---|---|
committer | Fabien Freling <fabien.freling@nokia.com> | 2011-01-26 15:21:20 (GMT) |
commit | c710993bc1653e85f598ea099de2eb23904f0bcf (patch) | |
tree | d5b4c202d05f04f706d87d508fa4df19504896b1 /src/gui | |
parent | e1a1ff63d3078b01045a526a54d923ac0bae1032 (diff) | |
download | Qt-c710993bc1653e85f598ea099de2eb23904f0bcf.zip Qt-c710993bc1653e85f598ea099de2eb23904f0bcf.tar.gz Qt-c710993bc1653e85f598ea099de2eb23904f0bcf.tar.bz2 |
Remove useless displayIfNeeded: definition.
This is no longer needed for the raster engine.
We don't need to sync the backing store this way.
Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qcocoasharedwindowmethods_mac_p.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h index 60cdfb9..0150e75 100644 --- a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h +++ b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h @@ -346,22 +346,6 @@ QT_END_NAMESPACE return dropResult; } -- (void)displayIfNeeded -{ - - QWidget *qwidget = [[QT_MANGLE_NAMESPACE(QCocoaWindowDelegate) sharedDelegate] qt_qwidgetForWindow:self]; - if (qwidget == 0) { - [super displayIfNeeded]; - return; - } - - if (QApplicationPrivate::graphicsSystem() != 0) { - if (QWidgetBackingStore *bs = qt_widget_private(qwidget)->maybeBackingStore()) - bs->sync(qwidget, qwidget->rect()); - } - [super displayIfNeeded]; -} - // This is a hack and it should be removed once we find the real cause for // the painting problems. // We have a static variable that signals if we have been called before or not. |