summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 09:53:55 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 09:55:27 +0200
commitc25609217e99f890431c0170fea585b3e86822ad (patch)
treeee0280c08ebea6e9672ae7479de0e12654e65f9e /src/plugins/platforms/xcb
parent2ac622fae920ac038e6d5afb4db9df2e3b896514 (diff)
Remove unnecessary setters in XCB plugin.
These are the default settings in qwindowsurface.cpp anyway, and the explicit setters are about to be replaced by a features() function.
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r--src/plugins/platforms/xcb/qxcbwindowsurface.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
index 6bacf3d9bf..e1ebce2fe3 100644
--- a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
+++ b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
@@ -161,9 +161,6 @@ QXcbWindowSurface::QXcbWindowSurface(QWidget *widget, bool setDefaultSurface)
: QWindowSurface(widget, setDefaultSurface)
, m_image(0)
{
- setStaticContentsSupport(false);
- setPartialUpdateSupport(true);
-
QXcbScreen *screen = static_cast<QXcbScreen *>(QPlatformScreen::platformScreenForWidget(widget));
setConnection(screen->connection());
}