diff options
author | Andy Nichols <andy.nichols@qt.io> | 2016-04-28 16:07:52 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-04-30 20:20:31 +0000 |
commit | c7b6e1345059faa73d0f5e2e436ae1b80850f16a (patch) | |
tree | e39aeb603719ea1265283d19704930e7dc19ce2f /src/plugins/platforms/windows/qwindowsbackingstore.h | |
parent | 3650cbc323eb4fbd32668b97212118c4d0acddc0 (diff) |
Add QPlatformBackingStore::toImage() implementations
On platforms where it makes sense, add the implementation that makes
returning a QImage possible. This makes it possible to grab raster
windows.
Change-Id: I89241728aa6f7811c56bb66cd86a64aa961d71f8
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsbackingstore.h')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsbackingstore.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/windows/qwindowsbackingstore.h b/src/plugins/platforms/windows/qwindowsbackingstore.h index 26c79348a9..5cd621375d 100644 --- a/src/plugins/platforms/windows/qwindowsbackingstore.h +++ b/src/plugins/platforms/windows/qwindowsbackingstore.h @@ -65,9 +65,7 @@ public: HDC getDC() const; -#ifndef QT_NO_OPENGL QImage toImage() const Q_DECL_OVERRIDE; -#endif private: QScopedPointer<QWindowsNativeImage> m_image; |