forked from qt-creator/qt-creator
Debugger: Simplify BinEditor usage
Change-Id: I77a226cce97a85471fbe3d57a09d5b8318c7cce7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -395,8 +395,8 @@ bool StackHandler::contextMenuEvent(const ItemViewEvent &ev)
|
||||
[this, row, frame, address] {
|
||||
MemoryViewSetupData data;
|
||||
data.startAddress = address;
|
||||
data.title = tr("Memory at Frame #%1 (%2) 0x%3").
|
||||
arg(row).arg(frame.function).arg(address, 0, 16);
|
||||
data.title = tr("Memory at Frame #%1 (%2) 0x%3")
|
||||
.arg(row).arg(frame.function).arg(address, 0, 16);
|
||||
data.markup.push_back(MemoryMarkup(address, 1, QColor(Qt::blue).lighter(),
|
||||
tr("Frame #%1 (%2)").arg(row).arg(frame.function)));
|
||||
m_engine->openMemoryView(data);
|
||||
|
||||
Reference in New Issue
Block a user