Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Feb 21, 2018
1 parent 77be1ce commit ffd1e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsstatusbarcoordinateswidget.cpp
Expand Up @@ -227,7 +227,7 @@ void QgsStatusBarCoordinatesWidget::showMouseCoordinates( const QgsPointXY &p )

//ensure the label is big (and small) enough
int width = mLineEdit->fontMetrics().width( mLineEdit->text() ) + 10;
if( mLineEdit->minimumWidth()+4 < width || mLineEdit->minimumWidth()-4 > width )
if ( mLineEdit->minimumWidth() + 4 < width || mLineEdit->minimumWidth() - 4 > width )
{
mLineEdit->setMinimumWidth( width );
mLineEdit->setMaximumWidth( width );
Expand All @@ -249,7 +249,7 @@ void QgsStatusBarCoordinatesWidget::showExtent()

//ensure the label is big (and small) enough
int width = mLineEdit->fontMetrics().width( mLineEdit->text() ) + 10;
if( mLineEdit->minimumWidth()+4 < width || mLineEdit->minimumWidth()-4 > width )
if ( mLineEdit->minimumWidth() + 4 < width || mLineEdit->minimumWidth() - 4 > width )
{
mLineEdit->setMinimumWidth( width );
mLineEdit->setMaximumWidth( width );
Expand Down

0 comments on commit ffd1e4b

Please sign in to comment.