Skip to content

Commit

Permalink
Swtich to ~/.qgis-dev for user folder
Browse files Browse the repository at this point in the history
Avoids errors on QGIS 2.x API plugins now we have broken
API in for 3.x
  • Loading branch information
NathanW2 committed Jul 30, 2016
1 parent 429fe2d commit 8f5272e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ void QgsApplication::init( QString customConfigPath )
}
else
{
customConfigPath = QString( "%1/.qgis%2/" ).arg( QDir::homePath() ).arg( Qgis::QGIS_VERSION_INT / 10000 );
// TODO Switch to this for release.
//customConfigPath = QString( "%1/.qgis%2/" ).arg( QDir::homePath() ).arg( Qgis::QGIS_VERSION_INT / 10000 );
// Use qgis-dev for dev versions of QGIS to avoid mixing 2 and 3 API plugins.
customConfigPath = QString( "%1/.qgis%2/" ).arg( QDir::homePath() ).arg( "-dev" );
}
}

Expand Down

0 comments on commit 8f5272e

Please sign in to comment.