Skip to content

Commit

Permalink
[GRASS] vector min/max and qtermwidget fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Sep 17, 2015
1 parent 29fc46a commit 77b3793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/grass/qtermwidget/History.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ CompactHistoryLine::CompactHistoryLine ( const TextLine& line, CompactHistoryBlo
Q_ASSERT (text!=NULL);

length=line.size();
formatLength=formatLength;
//formatLength=formatLength;
wrapped=false;

// record formats and their positions in the format array
Expand Down
4 changes: 2 additions & 2 deletions src/providers/grass/qgsgrassprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ QVariant QgsGrassProvider::minimumValue( int index )
{
if ( isValid() )
{
mLayer->minMax().value( index ).first;
return mLayer->minMax().value( index ).first;
}
return QVariant();
}
Expand All @@ -404,7 +404,7 @@ QVariant QgsGrassProvider::maxValue( int index )
{
if ( isValid() )
{
mLayer->minMax().value( index ).second;
return mLayer->minMax().value( index ).second;
}
return QVariant();
}
Expand Down

0 comments on commit 77b3793

Please sign in to comment.