Skip to content
Permalink
Browse files

Revert "[qgis_help] Detect proper resource path when running from bui…

…ld dir"

This reverts commit 30b9fed.

qgis_help doesn't need to know the install path any more, because it reads from stdin instead of directly opening files
  • Loading branch information
m-kuhn committed May 15, 2013
1 parent 8f363b5 commit d64ee565569f7c216e40a0c600dc0e61d44799c6
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/core/qgsapplication.cpp
@@ -94,7 +94,7 @@ void QgsApplication::init( QString customConfigPath )
// check if QGIS is run from build directory (not the install directory)
QFile f;
// "/../../.." is for Mac bundled app in build directory
foreach ( QString path, QStringList() << "" << "/.." << "/bin" << "/../../.." << "/../../bin" )
foreach ( QString path, QStringList() << "" << "/.." << "/bin" << "/../../.." )
{
f.setFileName( prefixPath + path + "/path.txt" );
if ( f.exists() )
@@ -323,12 +323,10 @@ const QString QgsApplication::pluginPath()
{
return ABISYM( mPluginPath );
}

const QString QgsApplication::pkgDataPath()
{
return ABISYM( mPkgDataPath );
}

const QString QgsApplication::defaultThemePath()
{
return ":/images/themes/default/";

0 comments on commit d64ee56

Please sign in to comment.
You can’t perform that action at this time.