mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Wind 32 support for package path - which will hopefully ensure pyramid and overview mini icons are displayed on legend entry now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1600 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
8f4734d469
commit
fd9ede2af5
@ -404,8 +404,7 @@ QgsRasterLayer::QgsRasterLayer(QString path, QString baseName):QgsMapLayer(RASTE
|
||||
buildRasterPyramidList();
|
||||
//load up the pyramid icons
|
||||
#ifdef WIN32
|
||||
//TODO Fix this to use the right path
|
||||
const char *PKGDATAPATH = "foo";
|
||||
QString PKGDATAPATH = qApp->applicationDirPath() + "/qgis/share";
|
||||
#endif
|
||||
mPyramidPixmap.load(QString(PKGDATAPATH) + QString("/images/icons/pyramid.png"));
|
||||
mNoPyramidPixmap.load(QString(PKGDATAPATH) + QString("/images/icons/no_pyramid.png"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user