summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-26 17:25:27 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-26 17:25:27 +0200
commit0064dc7bc83cce97d8948ec85ac7788b5b6d7b07 (patch)
treedf2b4b3b9fea16ff85e3820dfaf37396889e8135 /src
parent2d26fda6e11669e508be3c2def0e5441fb29f9f0 (diff)
downloadqtbase-0064dc7bc83cce97d8948ec85ac7788b5b6d7b07.tar.gz
XCB: Fix moveToScreen to use QWindow instead of QWidget.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/xcb/qxcbintegration.cpp2
-rw-r--r--src/plugins/platforms/xcb/qxcbintegration.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp
index 8c2ed03b60..48aeae7601 100644
--- a/src/plugins/platforms/xcb/qxcbintegration.cpp
+++ b/src/plugins/platforms/xcb/qxcbintegration.cpp
@@ -103,7 +103,7 @@ QList<QPlatformScreen *> QXcbIntegration::screens() const
return m_screens;
}
-void QXcbIntegration::moveToScreen(QWidget *window, int screen)
+void QXcbIntegration::moveToScreen(QWindow *window, int screen)
{
Q_UNUSED(window);
Q_UNUSED(screen);
diff --git a/src/plugins/platforms/xcb/qxcbintegration.h b/src/plugins/platforms/xcb/qxcbintegration.h
index 5ab929828d..647eb500c3 100644
--- a/src/plugins/platforms/xcb/qxcbintegration.h
+++ b/src/plugins/platforms/xcb/qxcbintegration.h
@@ -61,7 +61,7 @@ public:
QWindowSurface *createWindowSurface(QWindow *window, WId winId) const;
QList<QPlatformScreen *> screens() const;
- void moveToScreen(QWidget *window, int screen);
+ void moveToScreen(QWindow *window, int screen);
bool isVirtualDesktop();
QPixmap grabWindow(WId window, int x, int y, int width, int height) const;