Skip to content

Commit d64ee56

Browse files
committedMay 15, 2013
Revert "[qgis_help] Detect proper resource path when running from build 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
1 parent 8f363b5 commit d64ee56

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/core/qgsapplication.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void QgsApplication::init( QString customConfigPath )
9494
// check if QGIS is run from build directory (not the install directory)
9595
QFile f;
9696
// "/../../.." is for Mac bundled app in build directory
97-
foreach ( QString path, QStringList() << "" << "/.." << "/bin" << "/../../.." << "/../../bin" )
97+
foreach ( QString path, QStringList() << "" << "/.." << "/bin" << "/../../.." )
9898
{
9999
f.setFileName( prefixPath + path + "/path.txt" );
100100
if ( f.exists() )
@@ -323,12 +323,10 @@ const QString QgsApplication::pluginPath()
323323
{
324324
return ABISYM( mPluginPath );
325325
}
326-
327326
const QString QgsApplication::pkgDataPath()
328327
{
329328
return ABISYM( mPkgDataPath );
330329
}
331-
332330
const QString QgsApplication::defaultThemePath()
333331
{
334332
return ":/images/themes/default/";

0 commit comments

Comments
 (0)
Please sign in to comment.