Debugger: Simplify BinEditor usage

Change-Id: I77a226cce97a85471fbe3d57a09d5b8318c7cce7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-08-03 22:19:34 +02:00
committed by hjk
parent 68aeff4b9f
commit 33c79a4440
6 changed files with 56 additions and 89 deletions

View File

@@ -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);