3liz / qgis-pgmetadata-plugin

QGIS Plugin to manage some metadata from PostgreSQL layer
GNU General Public License v2.0
12 stars 10 forks source link

Use native QGIS API for layer icon #161

Open Gustry opened 7 months ago

Gustry commented 7 months ago

The plugin is still compatible 3.16 in the metadata.txt.

When we will raise the minimum version (soon, because it's already 3.34...), we can remove the file tools.py.

Follow up from #160

Gustry commented 6 months ago

There is QgsMapLayerModel.iconForLayer(layer)