Skip to content

Commit

Permalink
[gps] Fix default-misconfigured gpsbabel path
Browse files Browse the repository at this point in the history
Fix #14866
  • Loading branch information
m-kuhn committed Jun 6, 2016
1 parent 3a2f3df commit 2e60964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/gps_importer/qgsgpsplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ void QgsGPSPlugin::setupBabel()
{
// where is gpsbabel?
QSettings settings;
mBabelPath = settings.value( "/Plugin-GPS/gpsbabelpath", QDir::homePath() ).toString();
mBabelPath = settings.value( "/Plugin-GPS/gpsbabelpath", QString() ).toString();
if ( mBabelPath.isEmpty() )
mBabelPath = "gpsbabel";
// the importable formats
Expand Down

0 comments on commit 2e60964

Please sign in to comment.