Skip to content

Commit ff78ef1

Browse files
committed
fix build error (please stick with C++)
1 parent 410deb9 commit ff78ef1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/qgspluginmanager.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,10 @@ void QgsPluginManager::getPythonPluginDescriptions()
211211
myData.setRenderAsWidget( false );
212212
myData.setChecked( false ); //start off assuming false
213213

214-
if ( iconName == "__error__" or iconName.isEmpty() )
214+
if ( iconName == "__error__" || iconName.isEmpty() )
215+
{
215216
myData.setIcon( QPixmap( QgsApplication::defaultThemePath() + "/plugin.png" ) );
217+
}
216218
else
217219
{
218220
bool relative = QFileInfo( iconName ).isRelative();

0 commit comments

Comments
 (0)