Skip to content
Permalink
Browse files

[processing] remove unused code: followup e7e8451

  • Loading branch information
slarosa committed Jan 23, 2016
1 parent 09ce800 commit 83466011744c32a2b652e098efe0c45cea26240f
Showing with 0 additions and 5 deletions.
  1. +0 −5 python/plugins/processing/modeler/ModelerDialog.py
@@ -53,7 +53,6 @@

class ModelerDialog(BASE, WIDGET):

USE_CATEGORIES = '/Processing/UseSimplifiedInterface'
CANVAS_SIZE = 4000

def __init__(self, alg=None):
@@ -519,13 +518,9 @@ def fillAlgorithmTreeUsingProviders(self):
class TreeAlgorithmItem(QTreeWidgetItem):

def __init__(self, alg):
settings = QSettings()
useCategories = settings.value(ModelerDialog.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)

0 comments on commit 8346601

Please sign in to comment.
You can’t perform that action at this time.