Skip to content
Permalink
Browse files

fix build error (please stick with C++)

  • Loading branch information
jef-n committed Nov 6, 2012
1 parent 410deb9 commit ff78ef18023a91ae68d656c4575fc0dd99140895
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/qgspluginmanager.cpp
@@ -211,8 +211,10 @@ void QgsPluginManager::getPythonPluginDescriptions()
myData.setRenderAsWidget( false );
myData.setChecked( false ); //start off assuming false

if ( iconName == "__error__" or iconName.isEmpty() )
if ( iconName == "__error__" || iconName.isEmpty() )
{
myData.setIcon( QPixmap( QgsApplication::defaultThemePath() + "/plugin.png" ) );
}
else
{
bool relative = QFileInfo( iconName ).isRelative();

1 comment on commit ff78ef1

@etiennesky

This comment has been minimized.

Copy link
Contributor

@etiennesky etiennesky commented on ff78ef1 Nov 6, 2012

sorry about that - gcc didn't complain, I didn't even notice! thanks

Please sign in to comment.
You can’t perform that action at this time.