mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
commit
a88fcf1d54
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
@ -29,6 +29,7 @@ from PyQt.QtCore import QCoreApplication
|
||||
from PyQt.QtWidgets import QAction
|
||||
from PyQt.QtGui import QIcon
|
||||
|
||||
from qgis.core import QgsApplication
|
||||
from MetaSearch.dialogs.maindialog import MetaSearchDialog
|
||||
from MetaSearch.util import get_help_url, open_url, StaticContext
|
||||
|
||||
@ -68,7 +69,7 @@ class MetaSearchPlugin(object):
|
||||
self.iface.addPluginToWebMenu(self.web_menu, self.action_run)
|
||||
|
||||
# help
|
||||
help_icon = QIcon('%s/%s' % (self.context.ppath, 'images/help.png'))
|
||||
help_icon = QgsApplication.getThemeIcon('/mActionHelpContents.svg')
|
||||
self.action_help = QAction(help_icon, 'Help', self.iface.mainWindow())
|
||||
self.action_help.setWhatsThis(QCoreApplication.translate('MetaSearch',
|
||||
'MetaSearch plugin help'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user