Skip to content

Commit

Permalink
Use theme path for icons rather (icons is no longer to be used for th…
Browse files Browse the repository at this point in the history
…emeable elements).

git-svn-id: http://svn.osgeo.org/qgis/trunk@4652 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 11, 2006
1 parent 996b447 commit 1ab67a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/raster/qgsrasterlayer.cpp
Expand Up @@ -539,8 +539,9 @@ QgsRasterLayer::readFile( QString const & fileName )
buildRasterPyramidList();

//load up the pyramid icons
mPyramidPixmap.load( QgsApplication::pkgDataPath() + QString("/images/icons/pyramid.png"));
mNoPyramidPixmap.load( QgsApplication::pkgDataPath() + QString("/images/icons/no_pyramid.png"));
QString myThemePath = QgsApplication::themePath();
QPixmap myPyramidPixmap(myThemePath + "/mIconPyramid.png");
QPixmap myNoPyramidPixmap(myThemePath + "/mIconNoPyramid.png");

// Get the layer's projection info and set up the
// QgsCoordinateTransform for this layer
Expand Down

0 comments on commit 1ab67a6

Please sign in to comment.