Skip to content

Commit

Permalink
fix build error (please stick with C++)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 6, 2012
1 parent 410deb9 commit ff78ef1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/qgspluginmanager.cpp
Expand Up @@ -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();
Expand Down

1 comment on commit ff78ef1

@etiennesky
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.