summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 17:07:00 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 17:07:00 +0200
commitee481481bbd1d910c8a0191aa517f96186130d8b (patch)
tree1c7ddb12da965f75456e29d113661473c6637431
parent3cad0744477da31ab59ffb6d3baa498a369d5089 (diff)
downloadqt4-tools-ee481481bbd1d910c8a0191aa517f96186130d8b.tar.gz
Removed superfluous sync in QXcbWindowSurface.
-rw-r--r--src/plugins/platforms/xcb/qxcbwindowsurface.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
index 50be2c7de1..dd28c31868 100644
--- a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
+++ b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
@@ -185,8 +185,6 @@ void QXcbWindowSurface::flush(QWidget *widget, const QRegion &region, const QPoi
Q_UNUSED(region);
Q_UNUSED(offset);
- connection()->sync();
-
QXcbWindow *window = static_cast<QXcbWindow *>(widget->window()->platformWindow());
extern QWidgetData* qt_widget_data(QWidget *);