Skip to content

Commit

Permalink
Set QCoreApplication organisation name etc so we can use qgis qsettings
Browse files Browse the repository at this point in the history
for state handling



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5772 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 7, 2006
1 parent 4434418 commit f2fd629
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/mapserver_export/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
int main( int argc, char **argv )
{
QApplication a( argc, argv );
// Set up the QSettings environment must be done after qapp is created
QCoreApplication::setOrganizationName("QuantumGIS");
QCoreApplication::setOrganizationDomain("qgis.org");
QCoreApplication::setApplicationName("qgis");

QgsMapserverExport *mse = new QgsMapserverExport();
a.setMainWidget( mse );
Expand Down

0 comments on commit f2fd629

Please sign in to comment.