Skip to content

Commit b1cadb1

Browse files
committedJun 24, 2017
Use generic algorithm icon for qgis algorithms which do not
have specific icons, instead of generic qgis icon We consider these 'top level' algorithms, and using the standard algorithm icon should help reflect this and differentiate them from 3rd party algorithms.
1 parent 8f586ef commit b1cadb1

File tree

81 files changed

+0
-494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+0
-494
lines changed
 

‎python/plugins/processing/algs/qgis/AddTableField.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ class AddTableField(QgisAlgorithm):
5151

5252
TYPES = [QVariant.Int, QVariant.Double, QVariant.String]
5353

54-
def icon(self):
55-
return QgsApplication.getThemeIcon("/providerQgis.svg")
56-
57-
def svgIconPath(self):
58-
return QgsApplication.iconPath("providerQgis.svg")
59-
6054
def group(self):
6155
return self.tr('Vector table tools')
6256

‎python/plugins/processing/algs/qgis/AutoincrementalField.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ def __init__(self):
5151
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Incremented')))
5252
self.addOutput(QgsProcessingOutputVectorLayer(self.OUTPUT, self.tr('Incremented')))
5353

54-
def icon(self):
55-
return QgsApplication.getThemeIcon("/providerQgis.svg")
56-
57-
def svgIconPath(self):
58-
return QgsApplication.iconPath("providerQgis.svg")
59-
6054
def group(self):
6155
return self.tr('Vector table tools')
6256

3 commit comments

Comments
 (3)

nirvn commented on Jun 25, 2017

@nirvn
Contributor

Can we use a vector icon here?

nyalldawson commented on Jun 25, 2017

@nyalldawson
CollaboratorAuthor

It should be already - the generic alg icon is svg

nirvn commented on Jun 25, 2017

@nirvn
Contributor

@nyalldawson , it doesn't show as vector in models.

Please sign in to comment.