Skip to content
Permalink
Browse files
[processing] SVG icon for SAGA provider
  • Loading branch information
alexbruy committed Jan 31, 2018
1 parent 28ff28a commit c3fc560fef1f059de43f815a34c57093e51d1af0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
@@ -596,6 +596,7 @@
<file>themes/default/providerGrass.svg</file>
<file>themes/default/providerQgis.svg</file>
<file>themes/default/providerR.svg</file>
<file>themes/default/providerSaga.svg</file>
<file>themes/default/processingModel.svg</file>
<file>themes/default/processingScript.svg</file>
<file>themes/default/processingAlgorithm.svg</file>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -30,6 +30,7 @@
from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsProcessingProvider,
QgsProcessingUtils,
QgsApplication,
QgsMessageLog)
from processing.core.ProcessingConfig import ProcessingConfig, Setting
from processing.tools.system import isWindows, isMac
@@ -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 == '':

0 comments on commit c3fc560

Please sign in to comment.