diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-04-08 13:02:17 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-04-08 13:03:18 (GMT) |
commit | 6e41376f73cc54efd2e82df8b7bdd5797438e6c5 (patch) | |
tree | 8fd5e7e94d72a000b87e5eccb183facdcf031fad | |
parent | d6cf18d036df1ecead4c8471944880c7f9a414f6 (diff) | |
download | Qt-6e41376f73cc54efd2e82df8b7bdd5797438e6c5.zip Qt-6e41376f73cc54efd2e82df8b7bdd5797438e6c5.tar.gz Qt-6e41376f73cc54efd2e82df8b7bdd5797438e6c5.tar.bz2 |
Compile on Lighthouse after the windowsurface API change.
-rw-r--r-- | src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp b/src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp index 6bf9d6b..695050e 100644 --- a/src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp +++ b/src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp @@ -98,7 +98,11 @@ QPaintDevice *QTraceWindowSurface::paintDevice() { if (!buffer) { buffer = new QPaintBuffer; +#ifdef Q_WS_LITE + buffer->setBoundingRect(QRect(QPoint(), size())); +#else buffer->setBoundingRect(geometry()); +#endif } return buffer; } |