diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-27 05:21:51 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-27 05:21:51 (GMT) |
commit | 71f1a81d6f0cbc3c355885a1e65b58feffa97bf6 (patch) | |
tree | 114c79fc21655f2ea8dd44f0d3f47bf32e7a5067 /tools/qmlviewer/qmlviewer.h | |
parent | 903bc78d79a3f8536d61fd247b73939e80fd8bce (diff) | |
download | Qt-71f1a81d6f0cbc3c355885a1e65b58feffa97bf6.zip Qt-71f1a81d6f0cbc3c355885a1e65b58feffa97bf6.tar.gz Qt-71f1a81d6f0cbc3c355885a1e65b58feffa97bf6.tar.bz2 |
Optimize video frame grabbing.
Use QWidget::render instead of QPixmap::grabWidget
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r-- | tools/qmlviewer/qmlviewer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h index 62ee908..d671410 100644 --- a/tools/qmlviewer/qmlviewer.h +++ b/tools/qmlviewer/qmlviewer.h @@ -79,6 +79,7 @@ private: QmlPalette *palette; QmlPalette *disabledPalette; QBasicTimer recordTimer; + QImage frame; QList<QImage*> frames; QProcess* frame_stream; QBasicTimer autoStartTimer; |