forked from qt-creator/qt-creator
Debugger: Comment out quasi dead code
Change-Id: I8d7773d911646b05d6343241ae09882b40e861b2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1969,15 +1969,15 @@ bool BreakHandler::contextMenuEvent(const ItemViewEvent &ev)
|
||||
|
||||
|
||||
// FIXME BP: m_engine->threadsHandler()->currentThreadId();
|
||||
int threadId = 0;
|
||||
addAction(menu,
|
||||
threadId == -1 ? tr("Associate Breakpoint with All Threads")
|
||||
: tr("Associate Breakpoint with Thread %1").arg(threadId),
|
||||
!selectedItems.isEmpty(),
|
||||
[this, selectedItems, threadId] {
|
||||
for (Breakpoint bp : selectedItems)
|
||||
bp.setThreadSpec(threadId);
|
||||
});
|
||||
// int threadId = 0;
|
||||
// addAction(menu,
|
||||
// threadId == -1 ? tr("Associate Breakpoint with All Threads")
|
||||
// : tr("Associate Breakpoint with Thread %1").arg(threadId),
|
||||
// !selectedItems.isEmpty(),
|
||||
// [this, selectedItems, threadId] {
|
||||
// for (Breakpoint bp : selectedItems)
|
||||
// bp.setThreadSpec(threadId);
|
||||
// });
|
||||
|
||||
addAction(menu,
|
||||
selectedItems.size() > 1
|
||||
|
||||
Reference in New Issue
Block a user