File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
python/plugins/MetaSearch Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 29
29
from PyQt .QtWidgets import QAction
30
30
from PyQt .QtGui import QIcon
31
31
32
+ from qgis .core import QgsApplication
32
33
from MetaSearch .dialogs .maindialog import MetaSearchDialog
33
34
from MetaSearch .util import get_help_url , open_url , StaticContext
34
35
@@ -68,7 +69,7 @@ def initGui(self):
68
69
self .iface .addPluginToWebMenu (self .web_menu , self .action_run )
69
70
70
71
# help
71
- help_icon = QIcon ( '%s/%s' % ( self . context . ppath , 'images/help.png' ) )
72
+ help_icon = QgsApplication . getThemeIcon ( '/mActionHelpContents.svg' )
72
73
self .action_help = QAction (help_icon , 'Help' , self .iface .mainWindow ())
73
74
self .action_help .setWhatsThis (QCoreApplication .translate ('MetaSearch' ,
74
75
'MetaSearch plugin help' ))
You can’t perform that action at this time.
0 commit comments