diff options
author | Andreas Hartmetz <andreas.hartmetz@kdab.com> | 2012-05-12 18:55:19 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 03:25:20 +0200 |
commit | 47be29c99be9558284f6d81074b6b0c38213ed71 (patch) | |
tree | 53726f1fdb93468e210cde3910372a0a5ba47642 /src/plugins/qmltooling/qmldbg_inspector/editor/liveselectiontool.cpp | |
parent | 508cbc6704ba9a37bd87bcbb5c0f1459bc41c064 (diff) |
Do not let QML warnings reduce the frame rate in fullscreen mode.
QPlainTextEdit::appendPlainText() can take surprisingly long, even
when the widget is hidden. In a demo on embedded hardware we've seen
the frame time go up from ~55 milliseconds to ~85 over the first few
minutes of the demo running. There was one warning emitted per frame.
With this patch there is no significant performance degradation.
Change-Id: Ic80409b29a1544f03431e1573811a00925660338
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_inspector/editor/liveselectiontool.cpp')
0 files changed, 0 insertions, 0 deletions