mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix build error (please stick with C++)
This commit is contained in:
parent
410deb9d56
commit
ff78ef1802
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user