diff --git a/src/app/gps/qgsgpsinformationwidget.cpp b/src/app/gps/qgsgpsinformationwidget.cpp index 21a3705..0f76a71 100644 --- a/src/app/gps/qgsgpsinformationwidget.cpp +++ b/src/app/gps/qgsgpsinformationwidget.cpp @@ -203,10 +203,17 @@ QgsGPSInformationWidget::QgsGPSInformationWidget( QgsMapCanvas * thepCanvas, QWi { mRadGpsd->setChecked( true ); } - //disable the internal port method if build is without QtLocation + //hide the internal port method if build is without QtLocation #ifndef HAVE_QT_MOBILITY_LOCATION - mRadInternal->setDisabled( true ); - mRadAutodetect->setChecked( true ); + if ( mRadInternal->isChecked() ) + { + mRadAutodetect->setChecked( true ); + } + mRadInternal->hide(); + mLblHacc->hide(); + mLblVacc->hide(); + mTxtHacc->hide(); + mTxtVacc->hide(); #endif //auto digitising behaviour