debugger: handle decimal and hex output for address values

Change-Id: Ieed0cf78ab65fe94355159df173e200a1c195765
Reviewed-on: http://codereview.qt.nokia.com/1311
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
hjk
2011-07-07 15:00:11 +02:00
committed by hjk
parent fdcd6dc2fb
commit d84861fabc
3 changed files with 5 additions and 10 deletions

View File

@@ -276,7 +276,7 @@ void WatchData::setAddress(const quint64 &a)
void WatchData::setHexAddress(const QByteArray &a)
{
bool ok;
const qint64 av = a.toULongLong(&ok, 16);
const qint64 av = a.toULongLong(&ok, 0);
if (ok) {
address = av;
} else {