Skip to content

Commit cb7d3ed

Browse files
committedOct 7, 2011
fix warning
1 parent 6ccb04e commit cb7d3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsapplication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ void QgsApplication::setPluginPath( const QString thePluginPath )
246246
void QgsApplication::setPkgDataPath( const QString thePkgDataPath )
247247
{
248248
mPkgDataPath = thePkgDataPath;
249-
QString mySvgPath = svgPath();
249+
QString mySvgPath = thePkgDataPath + ( mRunningFromBuildDir ? "/images/svg/" : "/svg/" );
250250
// avoid duplicate entries
251251
if ( !mDefaultSvgPaths.contains( mySvgPath ) )
252252
mDefaultSvgPaths << mySvgPath;

0 commit comments

Comments
 (0)
Please sign in to comment.