Use Formatter::Format for formatting hex numbers

This commit is contained in:
baldurk
2017-05-12 15:26:36 +01:00
parent 08fa2ec411
commit 5986f209e1
10 changed files with 48 additions and 58 deletions
+1 -1
View File
@@ -521,7 +521,7 @@ private:
s += lit("\nD: -");
if(val.stencil >= 0)
s += lit("\nS: 0x") + QFormatStr("%1").arg(val.stencil, 2, 16, QLatin1Char('0')).toUpper();
s += lit("\nS: 0x") + Formatter::Format(uint8_t(val.stencil & 0xff), true);
else if(val.stencil == -2)
s += lit("\nS: ?");
else