summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qdeclarativedebugtrace.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-01-25 04:59:03 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2011-01-25 05:00:07 (GMT)
commitf15778e60ba538b8715f6433a472ffe08a21d934 (patch)
tree0948a66f6954d5be423ea66126e53f03ea54ed42 /src/declarative/debugger/qdeclarativedebugtrace.cpp
parent6bcd2f316ef8d2f070f798cd6ac59ed67fecb0e1 (diff)
downloadQt-f15778e60ba538b8715f6433a472ffe08a21d934.zip
Qt-f15778e60ba538b8715f6433a472ffe08a21d934.tar.gz
Qt-f15778e60ba538b8715f6433a472ffe08a21d934.tar.bz2
Fix warnings.
Diffstat (limited to 'src/declarative/debugger/qdeclarativedebugtrace.cpp')
-rw-r--r--src/declarative/debugger/qdeclarativedebugtrace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugtrace.cpp b/src/declarative/debugger/qdeclarativedebugtrace.cpp
index 4bad405..6f28736 100644
--- a/src/declarative/debugger/qdeclarativedebugtrace.cpp
+++ b/src/declarative/debugger/qdeclarativedebugtrace.cpp
@@ -144,7 +144,7 @@ void QDeclarativeDebugTrace::rangeDataImpl(RangeType range, const QUrl &rData)
if (status() != Enabled || !m_enabled)
return;
- QDeclarativeDebugData rd = {m_timer.elapsed(), (int)RangeData, (int)range, rData.toEncoded(QUrl::FormattingOption(0x100)), -1};
+ QDeclarativeDebugData rd = {m_timer.elapsed(), (int)RangeData, (int)range, rData.toString(QUrl::FormattingOption(0x100)), -1};
processMessage(rd);
}
@@ -162,7 +162,7 @@ void QDeclarativeDebugTrace::rangeLocationImpl(RangeType range, const QUrl &file
if (status() != Enabled || !m_enabled)
return;
- QDeclarativeDebugData rd = {m_timer.elapsed(), (int)RangeLocation, (int)range, fileName.toEncoded(QUrl::FormattingOption(0x100)), line};
+ QDeclarativeDebugData rd = {m_timer.elapsed(), (int)RangeLocation, (int)range, fileName.toString(QUrl::FormattingOption(0x100)), line};
processMessage(rd);
}