Skip to content

Commit

Permalink
[processing] remove unused code: followup e7e8451
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Jan 23, 2016
1 parent 09ce800 commit 8346601
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/plugins/processing/modeler/ModelerDialog.py
Expand Up @@ -53,7 +53,6 @@

class ModelerDialog(BASE, WIDGET):

USE_CATEGORIES = '/Processing/UseSimplifiedInterface'
CANVAS_SIZE = 4000

def __init__(self, alg=None):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8346601

Please sign in to comment.