Skip to content

Commit d377258

Browse files
committed
Use plain icon instead compiled resource
1 parent 8f1c547 commit d377258

File tree

4 files changed

+1
-100
lines changed

4 files changed

+1
-100
lines changed

nlsgpkgloader/nls_geopackage_loader.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,8 @@ def add_action(
188188
def initGui(self):
189189
"""Create the menu entries and toolbar icons inside the QGIS GUI."""
190190

191-
icon_path = ":/plugins/nls_geopackage_loader/icon.png"
192191
self.add_action(
193-
icon_path,
192+
resources_path("icons", "icon.png"),
194193
text=self.tr(u"NLS GeoPackage Downloader"),
195194
callback=self.run,
196195
parent=self.iface.mainWindow(),

nlsgpkgloader/resources.py

-93
This file was deleted.

nlsgpkgloader/resources.qrc

-5
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)