diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-30 07:53:55 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-30 07:55:27 (GMT) |
commit | c25609217e99f890431c0170fea585b3e86822ad (patch) | |
tree | ee0280c08ebea6e9672ae7479de0e12654e65f9e /src/plugins/platforms/xcb | |
parent | 2ac622fae920ac038e6d5afb4db9df2e3b896514 (diff) | |
download | Qt-c25609217e99f890431c0170fea585b3e86822ad.zip Qt-c25609217e99f890431c0170fea585b3e86822ad.tar.gz Qt-c25609217e99f890431c0170fea585b3e86822ad.tar.bz2 |
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.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp index 6bacf3d..e1ebce2 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()); } |