[QGIS Commit] r15299 - trunk/qgis/src/helpviewer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Mar 1 02:03:02 EST 2011


Author: jef
Date: 2011-02-28 23:03:02 -0800 (Mon, 28 Feb 2011)
New Revision: 15299

Modified:
   trunk/qgis/src/helpviewer/main.cpp
Log:
fix help viewer on windows

Modified: trunk/qgis/src/helpviewer/main.cpp
===================================================================
--- trunk/qgis/src/helpviewer/main.cpp	2011-03-01 05:51:09 UTC (rev 15298)
+++ trunk/qgis/src/helpviewer/main.cpp	2011-03-01 07:03:02 UTC (rev 15299)
@@ -41,9 +41,11 @@
   {
     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



More information about the QGIS-commit mailing list