XCB: Fix moveToScreen to use QWindow instead of QWidget.

bb10
Friedemann Kleint 2011-05-26 17:25:27 +02:00
parent 2d26fda6e1
commit 0064dc7bc8
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;