diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-17 04:52:11 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-17 04:52:11 (GMT) |
commit | 413e7219045db14521787bdb41619250d6ad20a0 (patch) | |
tree | 50987bed56c916cca4f863b313ec17f9ec1ffb4c | |
parent | b59d460fdf02c3e2cb5d4ccfd284057643b952a7 (diff) | |
parent | 956081702b5701ec570085174878a264c86c136b (diff) | |
download | Qt-413e7219045db14521787bdb41619250d6ad20a0.zip Qt-413e7219045db14521787bdb41619250d6ad20a0.tar.gz Qt-413e7219045db14521787bdb41619250d6ad20a0.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Rebuild configure.exe.
QDeclarativeDebugTrace: Do not send message if the client did not enabled CanvasFrameRate
-rwxr-xr-x | configure.exe | bin | 1318912 -> 1318400 bytes | |||
-rw-r--r-- | src/declarative/debugger/qdeclarativedebugtrace.cpp | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/configure.exe b/configure.exe Binary files differindex 6817331..0863ecc 100755 --- a/configure.exe +++ b/configure.exe diff --git a/src/declarative/debugger/qdeclarativedebugtrace.cpp b/src/declarative/debugger/qdeclarativedebugtrace.cpp index 5e6d5e7..b2b0c8a 100644 --- a/src/declarative/debugger/qdeclarativedebugtrace.cpp +++ b/src/declarative/debugger/qdeclarativedebugtrace.cpp @@ -78,6 +78,9 @@ void QDeclarativeDebugTrace::endRange(RangeType t) void QDeclarativeDebugTrace::addEventImpl(EventType event) { + if (!isEnabled()) + return; + QByteArray data; QDataStream ds(&data, QIODevice::WriteOnly); ds << m_timer.elapsed() << (int)Event << (int)event; @@ -86,6 +89,9 @@ void QDeclarativeDebugTrace::addEventImpl(EventType event) void QDeclarativeDebugTrace::startRangeImpl(RangeType range) { + if (!isEnabled()) + return; + QByteArray data; QDataStream ds(&data, QIODevice::WriteOnly); ds << m_timer.elapsed() << (int)RangeStart << (int)range; @@ -94,6 +100,9 @@ void QDeclarativeDebugTrace::startRangeImpl(RangeType range) void QDeclarativeDebugTrace::rangeDataImpl(RangeType range, const QUrl &u) { + if (!isEnabled()) + return; + QByteArray data; QDataStream ds(&data, QIODevice::WriteOnly); ds << m_timer.elapsed() << (int)RangeData << (int)range << (QString)u.toString(); @@ -102,6 +111,9 @@ void QDeclarativeDebugTrace::rangeDataImpl(RangeType range, const QUrl &u) void QDeclarativeDebugTrace::endRangeImpl(RangeType range) { + if (!isEnabled()) + return; + QByteArray data; QDataStream ds(&data, QIODevice::WriteOnly); ds << m_timer.elapsed() << (int)RangeEnd << (int)range; |