Skip to content
Snippets Groups Projects
Commit cd2d9361 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: fix disassembler

Change-Id: I9e6ea258f6009a8299c0ddc2400abdb07e6dc6eb
Reviewed-on: http://codereview.qt.nokia.com/4120


Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 5d445439
No related branches found
No related tags found
No related merge requests found
......@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment