summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/graphicssystems/fb_base/fb_base.h1
-rw-r--r--src/plugins/graphicssystems/linuxfb/qgraphicssystem_linuxfb.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/graphicssystems/fb_base/fb_base.h b/src/plugins/graphicssystems/fb_base/fb_base.h
index 8b130d2..91b6d12 100644
--- a/src/plugins/graphicssystems/fb_base/fb_base.h
+++ b/src/plugins/graphicssystems/fb_base/fb_base.h
@@ -12,7 +12,6 @@ class QMouseEvent;
class QSize;
class QPainter;
-class QGraphicsSystemFbWindowSurface;
class QGraphicsSystemFbScreen;
class QGraphicsSystemSoftwareCursor : public QGraphicsSystemCursor
diff --git a/src/plugins/graphicssystems/linuxfb/qgraphicssystem_linuxfb.cpp b/src/plugins/graphicssystems/linuxfb/qgraphicssystem_linuxfb.cpp
index f5ca6e7..a373ba8 100644
--- a/src/plugins/graphicssystems/linuxfb/qgraphicssystem_linuxfb.cpp
+++ b/src/plugins/graphicssystems/linuxfb/qgraphicssystem_linuxfb.cpp
@@ -164,6 +164,7 @@ QLinuxFbGraphicsSystem::QLinuxFbGraphicsSystem()
if (!connect(displaySpec))
qFatal("QLinuxFbGraphicsSystem: could not initialize screen");
+ initDevice();
// Create a QImage directly on the screen's framebuffer.
// This is the blit target for copying windows to the screen.