Skip to content

Commit

Permalink
hide Internal connection if build is without WITH_QTMOBILITY cmake se…
Browse files Browse the repository at this point in the history
…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 9d5f289
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/gps/qgsgpsinformationwidget.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9d5f289

Please sign in to comment.