debugger: decode addrstep properly when it appears in hex

Change-Id: I52f85cbd3fa8eb4a1454e3b5265cc7400306eb7a
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-11-11 17:11:13 +01:00
committed by hjk
parent 989ff4ff73
commit 5d810a65b3

View File

@@ -862,7 +862,7 @@ void parseWatchData(const QSet<QByteArray> &expandedINames,
bool ok = false;
qulonglong addressBase = item.findChild("addrbase").data().toULongLong(&ok, 0);
qulonglong addressStep = item.findChild("addrstep").data().toULongLong();
qulonglong addressStep = item.findChild("addrstep").data().toULongLong(&ok, 0);
// Try not to repeat data too often.
WatchData childtemplate;