Skip to content
Permalink
Browse files

fix help viewer on windows

git-svn-id: http://svn.osgeo.org/qgis/trunk@15299 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 1, 2011
1 parent 28c5b24 commit 94473877d8c642c7c1f567bb273bfa61ea71dab3
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/helpviewer/main.cpp
@@ -41,9 +41,11 @@ int main( int argc, char ** argv )
{
context = argv[1];
}
#ifdef Q_WS_MACX
#if defined(Q_WS_MACX)
// If we're on Mac, we have the resource library way above us...
a.setPkgDataPath( QgsApplication::prefixPath() + "/../../../../" + QString( QGIS_DATA_SUBDIR ) );
#elif defined(Q_WS_WIN)
a.setPkgDataPath( QgsApplication::prefixPath() + "/" QGIS_DATA_SUBDIR );
#else
a.setPkgDataPath( QgsApplication::prefixPath() + "/../" QGIS_DATA_SUBDIR );
#endif

0 comments on commit 9447387

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