Skip to content
Permalink
Browse files

Also use different settings file for customisations

  • Loading branch information
timlinux committed Apr 1, 2013
1 parent a178b85 commit 749cbeacf5ea4422e5e8663c2491534c4b5ed33e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/main.cpp
@@ -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.

0 comments on commit 749cbea

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