Skip to content


[processing] SVG icon for SAGA provider
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 31, 2018
1 parent 28ff28a commit c3fc560
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -596,6 +596,7 @@
Expand Down
1 change: 1 addition & 0 deletions images/themes/default/providerSaga.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/saga/
Expand Up @@ -30,6 +30,7 @@
from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsProcessingProvider,
from processing.core.ProcessingConfig import ProcessingConfig, Setting
from import isWindows, isMac
Expand Down Expand Up @@ -134,7 +135,7 @@ def supportsNonFileBasedOutput(self):
return False

def icon(self):
return QIcon(os.path.join(pluginPath, 'images', 'saga.png'))
return QgsApplication.getThemeIcon("/providerSaga.svg")

def tr(self, string, context=''):
if context == '':
Expand Down

0 comments on commit c3fc560

Please sign in to comment.