Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2959 from geopython/master
reuse core icons
  • Loading branch information
tomkralidis committed Mar 31, 2016
2 parents 1e85772 + 3dffb7b commit a88fcf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file removed python/plugins/MetaSearch/images/help.png
Binary file not shown.
3 changes: 2 additions & 1 deletion python/plugins/MetaSearch/plugin.py
Expand Up @@ -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

Expand Down Expand Up @@ -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'))
Expand Down

0 comments on commit a88fcf1

Please sign in to comment.