Skip to content

Commit 7986013

Browse files
author
timlinux
committed
Set QCoreApplication organisation name etc so we can use qgis qsettings
for state handling git-svn-id: http://svn.osgeo.org/qgis/trunk@5772 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 21e4ab8 commit 7986013

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/mapserver_export/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
int main( int argc, char **argv )
44
{
55
QApplication a( argc, argv );
6+
// Set up the QSettings environment must be done after qapp is created
7+
QCoreApplication::setOrganizationName("QuantumGIS");
8+
QCoreApplication::setOrganizationDomain("qgis.org");
9+
QCoreApplication::setApplicationName("qgis");
610

711
QgsMapserverExport *mse = new QgsMapserverExport();
812
a.setMainWidget( mse );

0 commit comments

Comments
 (0)