Skip to content

Commit

Permalink
[processing] removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jan 10, 2016
1 parent e3f8abe commit e7e8451
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/plugins/processing/gui/ProcessingToolbox.py
Expand Up @@ -309,14 +309,9 @@ def fillTreeUsingProviders(self):
class TreeAlgorithmItem(QTreeWidgetItem):

def __init__(self, alg):
settings = QSettings()
useCategories = settings.value(ProcessingToolbox.USE_CATEGORIES,
type=bool)
QTreeWidgetItem.__init__(self)
self.alg = alg
icon = alg.getIcon()
if useCategories:
icon = GeoAlgorithm.getDefaultIcon()
name = AlgorithmClassification.getDisplayName(alg)
self.setIcon(0, icon)
self.setToolTip(0, name)
Expand Down

0 comments on commit e7e8451

Please sign in to comment.