diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-24 15:32:37 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-24 17:34:06 (GMT) |
commit | c03f50f7ef086bbc9f9f05b45eaea808953f6d11 (patch) | |
tree | 4505dfdf38e61fd0b233dc553211af3dcf63b816 /src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp | |
parent | 976a6b4fcdab5619af75ed55821d964eeffee22c (diff) | |
download | Qt-c03f50f7ef086bbc9f9f05b45eaea808953f6d11.zip Qt-c03f50f7ef086bbc9f9f05b45eaea808953f6d11.tar.gz Qt-c03f50f7ef086bbc9f9f05b45eaea808953f6d11.tar.bz2 |
Improve error message when using WM with NO_LAYER
QT_DIRECTFB_WM relies on QT_DIRECTFB_LAYER to be defined.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp index 7a7a03e..7569a18 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp @@ -119,9 +119,6 @@ bool QDirectFBWindowSurface::isValid() const #ifndef QT_NO_DIRECTFB_WM void QDirectFBWindowSurface::createWindow() { -#ifdef QT_NO_DIRECTFB_LAYER -#error QT_NO_DIRECTFB_LAYER requires QT_NO_DIRECTFB_WM -#else IDirectFBDisplayLayer *layer = screen->dfbDisplayLayer(); if (!layer) qFatal("QDirectFBWindowSurface: Unable to get primary display layer!"); @@ -147,7 +144,6 @@ void QDirectFBWindowSurface::createWindow() dfbSurface->Release(dfbSurface); dfbWindow->GetSurface(dfbWindow, &dfbSurface); -#endif } #endif // QT_NO_DIRECTFB_WM |