forked from qt-creator/qt-creator
		
	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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user