[QGIS Commit] r8818 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jul 19 14:07:50 EDT 2008


Author: jef
Date: 2008-07-19 14:07:50 -0400 (Sat, 19 Jul 2008)
New Revision: 8818

Modified:
   trunk/qgis/src/core/qgsapplication.cpp
Log:
use forward slashes also on windows - seems to confuse (OSGeo4w's) Python

Modified: trunk/qgis/src/core/qgsapplication.cpp
===================================================================
--- trunk/qgis/src/core/qgsapplication.cpp	2008-07-19 18:03:45 UTC (rev 8817)
+++ trunk/qgis/src/core/qgsapplication.cpp	2008-07-19 18:07:50 UTC (rev 8818)
@@ -78,8 +78,8 @@
 #endif
   if (useDefaultPaths)
   {
-    setPluginPath(mPrefixPath + QDir::separator() + QString(QGIS_PLUGIN_SUBDIR));
-    setPkgDataPath(mPrefixPath + QDir::separator() + QString(QGIS_DATA_SUBDIR));
+    setPluginPath(mPrefixPath + "/" + QString(QGIS_PLUGIN_SUBDIR));
+    setPkgDataPath(mPrefixPath + "/" + QString(QGIS_DATA_SUBDIR));
   }
 }
 



More information about the QGIS-commit mailing list