Skip to content

Commit 9447387

Browse files
author
jef
committed
fix help viewer on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@15299 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 28c5b24 commit 9447387

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helpviewer/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ int main( int argc, char ** argv )
4141
{
4242
context = argv[1];
4343
}
44-
#ifdef Q_WS_MACX
44+
#if defined(Q_WS_MACX)
4545
// If we're on Mac, we have the resource library way above us...
4646
a.setPkgDataPath( QgsApplication::prefixPath() + "/../../../../" + QString( QGIS_DATA_SUBDIR ) );
47+
#elif defined(Q_WS_WIN)
48+
a.setPkgDataPath( QgsApplication::prefixPath() + "/" QGIS_DATA_SUBDIR );
4749
#else
4850
a.setPkgDataPath( QgsApplication::prefixPath() + "/../" QGIS_DATA_SUBDIR );
4951
#endif

0 commit comments

Comments
 (0)