summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/stackhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/stackhandler.cpp')
-rw-r--r--src/plugins/debugger/stackhandler.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp
index 4c1ccd4433..6ba5ecd542 100644
--- a/src/plugins/debugger/stackhandler.cpp
+++ b/src/plugins/debugger/stackhandler.cpp
@@ -64,8 +64,12 @@ StackHandler::StackHandler()
m_contentsValid = false;
m_currentIndex = -1;
m_canExpand = false;
- connect(action(OperateByInstruction), SIGNAL(triggered()),
- this, SLOT(resetModel()));
+ connect(action(OperateByInstruction), &QAction::triggered,
+ this, &StackHandler::resetModel);
+
+ if (isNativeMixedEnabled())
+ connect(action(OperateNativeMixed), &QAction::triggered,
+ this, &StackHandler::resetModel);
}
StackHandler::~StackHandler()