forked from qt-creator/qt-creator
Debugger: Fix memory view address display.
This commit is contained in:
@@ -313,7 +313,7 @@ void MemoryViewWidget::slotContextMenuRequested(const QPoint &pos)
|
|||||||
static inline void formatAddressToHexStream(QTextStream &hexStream, quint64 address)
|
static inline void formatAddressToHexStream(QTextStream &hexStream, quint64 address)
|
||||||
{
|
{
|
||||||
hexStream.setFieldWidth(4);
|
hexStream.setFieldWidth(4);
|
||||||
hexStream << (address >> 32);
|
hexStream << ((address >> 16) & 0xFFFF);
|
||||||
hexStream.setFieldWidth(1);
|
hexStream.setFieldWidth(1);
|
||||||
hexStream << ':';
|
hexStream << ':';
|
||||||
hexStream.setFieldWidth(4);
|
hexStream.setFieldWidth(4);
|
||||||
|
Reference in New Issue
Block a user