Skip to content

Commit 3fd7c58

Browse files
author
gsherman
committed
Added method to return path to icons directory
git-svn-id: http://svn.osgeo.org/qgis/trunk@5520 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4b28856 commit 3fd7c58

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/core/qgsapplication.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ const QString QgsApplication::splashPath()
131131
return mPkgDataPath + QString("/images/splash/");
132132
}
133133

134+
/*!
135+
Returns the path to the icons image directory.
136+
*/
137+
const QString QgsApplication::iconsPath()
138+
{
139+
return mPkgDataPath + QString("/images/icons/");
140+
}
134141
/*!
135142
Returns the path to the srs.db file.
136143
*/

src/core/qgsapplication.h

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class QgsApplication: public QApplication
5050

5151
//! Returns the path to the splash screen image directory.
5252
static const QString splashPath();
53+
54+
//! Returns the path to the icons image directory.
55+
static const QString iconsPath();
5356

5457
//! Returns the path to the srs.db file.
5558
static const QString srsDbFilePath();

0 commit comments

Comments
 (0)