Skip to content

Commit

Permalink
Add the possibility to set a different pkgdatapath at runtime. This i…
Browse files Browse the repository at this point in the history
…s not used by the normal qgis gui application (only by the server application i'm currently developing)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5561 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 4, 2006
1 parent b12da70 commit 32fadc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsapplication.h
Expand Up @@ -72,6 +72,8 @@ class QgsApplication: public QApplication
//! Returns the path to the current theme directory.
static const QString& themePath() { return mThemePath; }

void setPkgDataPath(const QString& path){mPkgDataPath = path;}

private:
static QString mPrefixPath;
static QString mPluginPath;
Expand Down

0 comments on commit 32fadc3

Please sign in to comment.