Skip to content

Commit

Permalink
use forward slashes also on windows - seems to confuse (OSGeo4w's) Py…
Browse files Browse the repository at this point in the history
…thon

git-svn-id: http://svn.osgeo.org/qgis/trunk@8818 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 19, 2008
1 parent 9c3b2ca commit 2cd989a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ void QgsApplication::setPrefixPath(const QString thePrefixPath, bool useDefaultP
#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));
}
}

Expand Down

0 comments on commit 2cd989a

Please sign in to comment.