[QGIS Commit] r12249 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Nov 25 05:19:01 EST 2009


Author: timlinux
Date: 2009-11-25 05:19:01 -0500 (Wed, 25 Nov 2009)
New Revision: 12249

Modified:
   trunk/qgis/src/core/qgsapplication.cpp
Log:
Fixed bug with theme switching not working properly

Modified: trunk/qgis/src/core/qgsapplication.cpp
===================================================================
--- trunk/qgis/src/core/qgsapplication.cpp	2009-11-25 10:17:28 UTC (rev 12248)
+++ trunk/qgis/src/core/qgsapplication.cpp	2009-11-25 10:19:01 UTC (rev 12249)
@@ -137,7 +137,7 @@
 */
 void QgsApplication::setThemeName( const QString theThemeName )
 {
-  QString myPath = mPkgDataPath + "/themes/" + theThemeName + "/";
+  QString myPath = ":/images/themes/" + theThemeName + "/";
   //check it exists and if not roll back to default theme
   if ( QFile::exists( myPath ) )
   {



More information about the QGIS-commit mailing list