Skip to content

Commit a33376f

Browse files
committedOct 19, 2017
Drop version and count from algorithm item in tree view
1 parent 925ec60 commit a33376f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
 

‎python/plugins/processing/algs/gdal/GdalAlgorithmProvider.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ def setActive(self, active):
122122
ProcessingConfig.setSettingValue('ACTIVATE_GDAL', active)
123123

124124
def name(self):
125-
version = GdalUtils.readableVersion()
126-
return 'GDAL ({})'.format(version)
125+
return 'GDAL'
127126

128127
def id(self):
129128
return 'gdal'

‎python/plugins/processing/gui/ProcessingToolbox.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,7 @@ def activateProvider():
452452
label.setStyleSheet("QLabel {background-color: white; color: grey;}")
453453
label.linkActivated.connect(activateProvider)
454454
self.algorithmTree.setItemWidget(parent, 0, label)
455-
456455
else:
457-
text += QCoreApplication.translate("TreeProviderItem", " [{0} geoalgorithms]").format(count)
458456
parent.setText(0, text)
459457
parent.setToolTip(0, parent.text(0))
460458

0 commit comments

Comments
 (0)
Please sign in to comment.