Skip to content

Commit

Permalink
Drop version and count from algorithm item in tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 19, 2017
1 parent 925ec60 commit a33376f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/GdalAlgorithmProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ def setActive(self, active):
ProcessingConfig.setSettingValue('ACTIVATE_GDAL', active)

def name(self):
version = GdalUtils.readableVersion()
return 'GDAL ({})'.format(version)
return 'GDAL'

def id(self):
return 'gdal'
Expand Down
2 changes: 0 additions & 2 deletions python/plugins/processing/gui/ProcessingToolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,7 @@ def activateProvider():
label.setStyleSheet("QLabel {background-color: white; color: grey;}")
label.linkActivated.connect(activateProvider)
self.algorithmTree.setItemWidget(parent, 0, label)

else:
text += QCoreApplication.translate("TreeProviderItem", " [{0} geoalgorithms]").format(count)
parent.setText(0, text)
parent.setToolTip(0, parent.text(0))

Expand Down

0 comments on commit a33376f

Please sign in to comment.