Skip to content
Permalink
Browse files

reuse core icons

  • Loading branch information
tomkralidis committed Mar 31, 2016
1 parent 6c6e983 commit 3dffb7b7430eb1bae77515de9af8f78b7b45a49f
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 3dffb7b

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