Skip to content
Permalink
Browse files

Merge pull request #2959 from geopython/master

reuse core icons
  • Loading branch information
tomkralidis committed Mar 31, 2016
2 parents 1e85772 + 3dffb7b commit a88fcf1d54d6b48457680a02b376db26954cf922
Binary file not shown.
@@ -29,6 +29,7 @@
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 @@ def initGui(self):
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'))

0 comments on commit a88fcf1

Please sign in to comment.
You can’t perform that action at this time.