Skip to content
Permalink
Browse files

Swtich to ~/.qgis-dev for user folder

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 8f5272e42c1636c738c885b46f263d3c15808034
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/core/qgsapplication.cpp
@@ -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" );
}
}

0 comments on commit 8f5272e

Please sign in to comment.
You can’t perform that action at this time.