forked from qt-creator/qt-creator
		
	Merge remote-tracking branch 'origin/2.3'
Conflicts: qtcreator.pri share/qtcreator/dumper/dumper.py share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp src/plugins/valgrind/valgrind.pro tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp Change-Id: Ic2d347012d89d697e6382f156e64f9619da88300
This commit is contained in:
		@@ -509,11 +509,13 @@ void MemcheckErrorView::suppressError()
 | 
			
		||||
 | 
			
		||||
void MemcheckErrorView::goNext()
 | 
			
		||||
{
 | 
			
		||||
    QTC_ASSERT(rowCount(), return);
 | 
			
		||||
    setCurrentRow((currentRow() + 1) % rowCount());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MemcheckErrorView::goBack()
 | 
			
		||||
{
 | 
			
		||||
    QTC_ASSERT(rowCount(), return);
 | 
			
		||||
    const int prevRow = currentRow() - 1;
 | 
			
		||||
    setCurrentRow(prevRow >= 0 ? prevRow : rowCount() - 1);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user