Debugger: Shorten function signatures in break and stack views

Especially useful with std:: types.

Change-Id: Iee7ae26b25ac162ac31944cd2a9c16ca4bf63f1c
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2014-07-03 00:46:51 +02:00
parent ca9e2dd9d7
commit dbbddd9fde
2 changed files with 4 additions and 2 deletions

View File

@@ -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