Skip to content
Permalink
Browse files
hide Internal connection if build is without WITH_QTMOBILITY cmake se…
…tting

use previously set connection; set Autodetect only if Internal happened to be the stored setting.
fix #13233
  • Loading branch information
stevenmizuno authored and nyalldawson committed Mar 23, 2017
1 parent 02b4f6c commit 9d5f28921d185705303ce689fee84757f8990a3c
Showing with 6 additions and 3 deletions.
  1. +6 −3 src/app/gps/qgsgpsinformationwidget.cpp
@@ -202,10 +202,13 @@ QgsGPSInformationWidget::QgsGPSInformationWidget( QgsMapCanvas *thepCanvas, QWid
{
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();
#endif

//auto digitizing behavior

0 comments on commit 9d5f289

Please sign in to comment.