We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410deb9 commit ff78ef1Copy full SHA for ff78ef1
src/app/qgspluginmanager.cpp
@@ -211,8 +211,10 @@ void QgsPluginManager::getPythonPluginDescriptions()
211
myData.setRenderAsWidget( false );
212
myData.setChecked( false ); //start off assuming false
213
214
- if ( iconName == "__error__" or iconName.isEmpty() )
+ if ( iconName == "__error__" || iconName.isEmpty() )
215
+ {
216
myData.setIcon( QPixmap( QgsApplication::defaultThemePath() + "/plugin.png" ) );
217
+ }
218
else
219
{
220
bool relative = QFileInfo( iconName ).isRelative();
0 commit comments