summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/minimal
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-04-21 06:28:30 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-04-21 06:32:52 (GMT)
commit66e4d48129d6baa405ed9a4a22b12913227a8c45 (patch)
tree358f8515f6a83d33e2f89942e2d0f358452f6fdd /src/plugins/platforms/minimal
parenta43355f7d10a72f60719f7e5a617bcd0031f8fba (diff)
downloadQt-66e4d48129d6baa405ed9a4a22b12913227a8c45.zip
Qt-66e4d48129d6baa405ed9a4a22b12913227a8c45.tar.gz
Qt-66e4d48129d6baa405ed9a4a22b12913227a8c45.tar.bz2
Renamed createWindowSurfaceForWindow
to createWindowSurface. Gave also a default dpi when there is no platform integration, ie. it has not been initialised yet or is being initialised.
Diffstat (limited to 'src/plugins/platforms/minimal')
-rw-r--r--src/plugins/platforms/minimal/qplatformintegration_minimal.cpp2
-rw-r--r--src/plugins/platforms/minimal/qplatformintegration_minimal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/minimal/qplatformintegration_minimal.cpp b/src/plugins/platforms/minimal/qplatformintegration_minimal.cpp
index 94aa4f3..73e025c 100644
--- a/src/plugins/platforms/minimal/qplatformintegration_minimal.cpp
+++ b/src/plugins/platforms/minimal/qplatformintegration_minimal.cpp
@@ -26,7 +26,7 @@ QPlatformWindow *QMinimalIntegration::createPlatformWindow(QWidget *widget, WId
return new QPlatformWindow(widget);
}
-QWindowSurface *QMinimalIntegration::createWindowSurfaceForWindow(QWidget *widget, WId winId) const
+QWindowSurface *QMinimalIntegration::createWindowSurface(QWidget *widget, WId winId) const
{
Q_UNUSED(winId);
return new QMinimalWindowSurface(widget);
diff --git a/src/plugins/platforms/minimal/qplatformintegration_minimal.h b/src/plugins/platforms/minimal/qplatformintegration_minimal.h
index fefe6c3..a2f7449 100644
--- a/src/plugins/platforms/minimal/qplatformintegration_minimal.h
+++ b/src/plugins/platforms/minimal/qplatformintegration_minimal.h
@@ -72,7 +72,7 @@ public:
QPixmapData *createPixmapData(QPixmapData::PixelType type) const;
QPlatformWindow *createPlatformWindow(QWidget *widget, WId winId) const;
- QWindowSurface *createWindowSurfaceForWindow(QWidget *widget, WId winId) const;
+ QWindowSurface *createWindowSurface(QWidget *widget, WId winId) const;
QList<QPlatformScreen *> screens() const { return mScreens; }