summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-09-03 12:45:43 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-09-07 14:36:11 (GMT)
commit8a92433b5deb14a27457715241b14764c28ffb39 (patch)
tree611588a2d1cabc15676594c2fada9bf36d301a5a /src/plugins/platforms
parentc5fe294667d9d8dfcec5c9529185a13ba5a47e91 (diff)
downloadQt-8a92433b5deb14a27457715241b14764c28ffb39.zip
Qt-8a92433b5deb14a27457715241b14764c28ffb39.tar.gz
Qt-8a92433b5deb14a27457715241b14764c28ffb39.tar.bz2
Make phonon gst backend build properly
Only software rendering for now... also fix regression I made in QWindowSystemInterface. Its allowed to send in NULL pointers for tlw in some of the functions. So dont ask for the widget data of a NULL pointer.
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/testlite/qtestlitewindowsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/testlite/qtestlitewindowsurface.cpp b/src/plugins/platforms/testlite/qtestlitewindowsurface.cpp
index 53f4791..b3232c8 100644
--- a/src/plugins/platforms/testlite/qtestlitewindowsurface.cpp
+++ b/src/plugins/platforms/testlite/qtestlitewindowsurface.cpp
@@ -180,7 +180,7 @@ void QTestLiteWindowSurface::flush(QWidget *widget, const QRegion &region, const
}
#else
// Use MIT_SHM
- if (image_info->image) {
+ if (image_info && image_info->image) {
//qDebug() << "Here we go" << image_info->image->width << image_info->image->height;
int x = 0;
int y = 0;