summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/breakhandler.cpp3
-rw-r--r--src/plugins/debugger/stackhandler.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index bdeff938c2..1614486ca0 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -34,6 +34,7 @@
#include "debuggercore.h"
#include "debuggerengine.h"
#include "debuggerstringutils.h"
+#include "simplifytype.h"
#include <extensionsystem/invoker.h>
#include <utils/hostosinfo.h>
@@ -593,7 +594,7 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
case 1:
if (role == Qt::DisplayRole) {
if (!response.functionName.isEmpty())
- return response.functionName;
+ return simplifyType(response.functionName);
if (!data.functionName.isEmpty())
return data.functionName;
if (data.type == BreakpointAtMain
diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp
index 60e0cb8552..e13c7577a0 100644
--- a/src/plugins/debugger/stackhandler.cpp
+++ b/src/plugins/debugger/stackhandler.cpp
@@ -31,6 +31,7 @@
#include "debuggeractions.h"
#include "debuggercore.h"
+#include "simplifytype.h"
#include <utils/qtcassert.h>
#include <utils/savedaction.h>
@@ -103,7 +104,7 @@ QVariant StackHandler::data(const QModelIndex &index, int role) const
case 0: // Stack frame level
return QString::number(frame.level);
case 1: // Function name
- return frame.function;
+ return simplifyType(frame.function);
case 2: // File name
return frame.file.isEmpty() ? frame.from : QFileInfo(frame.file).fileName();
case 3: // Line number