debugger: fix disassembler

Change-Id: I9e6ea258f6009a8299c0ddc2400abdb07e6dc6eb
Reviewed-on: http://codereview.qt.nokia.com/4120
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-09-02 09:43:55 +02:00
committed by hjk
parent 5d44543927
commit cd2d936139

View File

@@ -200,8 +200,8 @@ QString DisassemblerLine::toString() const
QString str;
if (isAssembler()) {
if (address)
str += _("0x%1 <+0x%1> ").arg(offset, 4, 16, QLatin1Char('0'))
.arg(address, 0, 16);
str += _("0x%1 <+0x%2> ").arg(address, 0, 16)
.arg(offset, 4, 16, QLatin1Char('0'));
str += _(" ");
str += data;
} else if (isCode()) {