Skip to content

Commit 77b3793

Browse files
committedSep 17, 2015
[GRASS] vector min/max and qtermwidget fixes
1 parent 29fc46a commit 77b3793

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/plugins/grass/qtermwidget/History.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ CompactHistoryLine::CompactHistoryLine ( const TextLine& line, CompactHistoryBlo
634634
Q_ASSERT (text!=NULL);
635635

636636
length=line.size();
637-
formatLength=formatLength;
637+
//formatLength=formatLength;
638638
wrapped=false;
639639

640640
// record formats and their positions in the format array

‎src/providers/grass/qgsgrassprovider.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ QVariant QgsGrassProvider::minimumValue( int index )
394394
{
395395
if ( isValid() )
396396
{
397-
mLayer->minMax().value( index ).first;
397+
return mLayer->minMax().value( index ).first;
398398
}
399399
return QVariant();
400400
}
@@ -404,7 +404,7 @@ QVariant QgsGrassProvider::maxValue( int index )
404404
{
405405
if ( isValid() )
406406
{
407-
mLayer->minMax().value( index ).second;
407+
return mLayer->minMax().value( index ).second;
408408
}
409409
return QVariant();
410410
}

0 commit comments

Comments
 (0)
Please sign in to comment.