diff options
author | hjk <[email protected]> | 2014-07-03 00:46:51 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2014-07-03 13:22:42 +0200 |
commit | dbbddd9fde6bf2235ab28f71895134c28aeb7406 (patch) | |
tree | 01021223a9a3f791b753ffc125c6fa2a3fb1be57 /src/plugins/debugger/breakhandler.cpp | |
parent | ca9e2dd9d7e47e62036bdb894d2bf78409a87c26 (diff) |
Debugger: Shorten function signatures in break and stack views
Especially useful with std:: types.
Change-Id: Iee7ae26b25ac162ac31944cd2a9c16ca4bf63f1c
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r-- | src/plugins/debugger/breakhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index bdeff938c2d..1614486ca01 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 |