forked from qt-creator/qt-creator
debugger: fix crash for 'Create Full Backtrace' on engines that don't support
it.
This commit is contained in:
@@ -105,7 +105,8 @@ void StackWindow::contextMenuEvent(QContextMenuEvent *ev)
|
||||
QAction *actCopyContents = menu.addAction(tr("Copy Contents to Clipboard"));
|
||||
actCopyContents->setEnabled(model() != 0);
|
||||
|
||||
menu.addAction(theDebuggerAction(CreateFullBacktrace));
|
||||
if (engineCapabilities & CreateFullBacktraceCapability)
|
||||
menu.addAction(theDebuggerAction(CreateFullBacktrace));
|
||||
|
||||
QAction *actShowMemory = menu.addAction(QString());
|
||||
if (address.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user