Skip to content

Commit 90b02ec

Browse files
committed
Merge pull request #187 from mbernasocchi/android
Android: make QGIS settings go to .qgis
2 parents a2d857f + 6b4a27a commit 90b02ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ int main( int argc, char *argv[] )
267267

268268
#if defined(ANDROID)
269269
QgsDebugMsg( QString( "Android: All params stripped" ) );// Param %1" ).arg( argv[0] ) );
270+
//put all QGIS settings in the same place
271+
configpath = QDir::homePath() + QString( "/.qgis/" );
272+
QgsDebugMsg( QString( "Android: configpath set to %1" ).arg(configpath) );
270273
#elif defined(Q_WS_WIN)
271274
for ( int i = 1; i < argc; i++ )
272275
{

0 commit comments

Comments
 (0)