diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-24 14:46:24 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-08-25 09:31:39 +0200 |
commit | 82f95318d61dbfebaa04182de2445a6576a621cd (patch) | |
tree | aabdbb2f6e05e0933004e507898f194248e032c2 /src/plugins/platforms/xlib/qxlibscreen.h | |
parent | b2c4c4fc2aee411b4476c6a351688060785aed7e (diff) |
Fix the xlib backend for lighthouse
Adapt the backend to the changes in lighthouse.
Change-Id: If2d795c901143a80eed4f23d14add6ab9f42750b
Reviewed-on: http://codereview.qt.nokia.com/3568
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibscreen.h')
-rw-r--r-- | src/plugins/platforms/xlib/qxlibscreen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/xlib/qxlibscreen.h b/src/plugins/platforms/xlib/qxlibscreen.h index 81625e561e..6e1a3e401d 100644 --- a/src/plugins/platforms/xlib/qxlibscreen.h +++ b/src/plugins/platforms/xlib/qxlibscreen.h @@ -51,7 +51,7 @@ class QXlibCursor; class QXlibKeyboard; class QXlibDisplay; -class QXlibScreen : public QPlatformScreen +class QXlibScreen : public QObject, public QPlatformScreen { Q_OBJECT public: @@ -73,7 +73,7 @@ public: QImage grabWindow(Window window, int x, int y, int w, int h); - static QXlibScreen *testLiteScreenForWidget(QWidget *widget); + static QXlibScreen *testLiteScreenForWidget(QWindow *widget); QXlibDisplay *display() const; int xScreenNumber() const; |