Skip to content

Commit ffd1e4b

Browse files
committedFeb 21, 2018
fix indentation
1 parent 77be1ce commit ffd1e4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/qgsstatusbarcoordinateswidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void QgsStatusBarCoordinatesWidget::showMouseCoordinates( const QgsPointXY &p )
227227

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

250250
//ensure the label is big (and small) enough
251251
int width = mLineEdit->fontMetrics().width( mLineEdit->text() ) + 10;
252-
if( mLineEdit->minimumWidth()+4 < width || mLineEdit->minimumWidth()-4 > width )
252+
if ( mLineEdit->minimumWidth() + 4 < width || mLineEdit->minimumWidth() - 4 > width )
253253
{
254254
mLineEdit->setMinimumWidth( width );
255255
mLineEdit->setMaximumWidth( width );

0 commit comments

Comments
 (0)
Please sign in to comment.