Skip to content

Commit

Permalink
Also use different settings file for customisations
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Apr 1, 2013
1 parent a178b85 commit 749cbea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,11 @@ int main( int argc, char *argv[] )
QSettings::setDefaultFormat( QSettings::IniFormat );
QString path = optionpath.isEmpty() ? configpath : optionpath;
QSettings::setPath( QSettings::IniFormat, QSettings::UserScope, path );
customizationsettings = new QSettings( QSettings::IniFormat, QSettings::UserScope, "QuantumGIS", "QGISCUSTOMIZATION" );
customizationsettings = new QSettings( QSettings::IniFormat, QSettings::UserScope, "QuantumGIS", "QGISCUSTOMIZATION2" );
}
else
{
customizationsettings = new QSettings( "QuantumGIS", "QGISCUSTOMIZATION" );
customizationsettings = new QSettings( "QuantumGIS", "QGISCUSTOMIZATION2" );
}

// Using the customizationfile option always overrides the option and config path options.
Expand Down

0 comments on commit 749cbea

Please sign in to comment.