We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 996b447 commit 1ab67a6Copy full SHA for 1ab67a6
src/raster/qgsrasterlayer.cpp
@@ -539,8 +539,9 @@ QgsRasterLayer::readFile( QString const & fileName )
539
buildRasterPyramidList();
540
541
//load up the pyramid icons
542
- mPyramidPixmap.load( QgsApplication::pkgDataPath() + QString("/images/icons/pyramid.png"));
543
- mNoPyramidPixmap.load( QgsApplication::pkgDataPath() + QString("/images/icons/no_pyramid.png"));
+ QString myThemePath = QgsApplication::themePath();
+ QPixmap myPyramidPixmap(myThemePath + "/mIconPyramid.png");
544
+ QPixmap myNoPyramidPixmap(myThemePath + "/mIconNoPyramid.png");
545
546
// Get the layer's projection info and set up the
547
// QgsCoordinateTransform for this layer
0 commit comments