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@5772 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 7, 2006
1 parent 21e4ab8 commit 7986013
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/mapserver_export/main.cpp
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 7986013

Please sign in to comment.