File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ void QgsStatusBarCoordinatesWidget::showMouseCoordinates( const QgsPointXY &p )
227
227
228
228
// ensure the label is big (and small) enough
229
229
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 )
231
231
{
232
232
mLineEdit ->setMinimumWidth ( width );
233
233
mLineEdit ->setMaximumWidth ( width );
@@ -249,7 +249,7 @@ void QgsStatusBarCoordinatesWidget::showExtent()
249
249
250
250
// ensure the label is big (and small) enough
251
251
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 )
253
253
{
254
254
mLineEdit ->setMinimumWidth ( width );
255
255
mLineEdit ->setMaximumWidth ( width );
You can’t perform that action at this time.
0 commit comments