Skip to content

Commit

Permalink
Fixed bug with theme switching not working properly
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12249 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 25, 2009
1 parent af96cfd commit 2b7a7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const QString QgsApplication::activeThemePath()
*/
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 ) )
{
Expand Down

0 comments on commit 2b7a7dd

Please sign in to comment.