Skip to content

Commit 8346601

Browse files
committed
[processing] remove unused code: followup e7e8451
1 parent 09ce800 commit 8346601

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

python/plugins/processing/modeler/ModelerDialog.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353

5454
class ModelerDialog(BASE, WIDGET):
5555

56-
USE_CATEGORIES = '/Processing/UseSimplifiedInterface'
5756
CANVAS_SIZE = 4000
5857

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

521520
def __init__(self, alg):
522-
settings = QSettings()
523-
useCategories = settings.value(ModelerDialog.USE_CATEGORIES, type=bool)
524521
QTreeWidgetItem.__init__(self)
525522
self.alg = alg
526523
icon = alg.getIcon()
527-
if useCategories:
528-
icon = GeoAlgorithm.getDefaultIcon()
529524
name = AlgorithmClassification.getDisplayName(alg)
530525
self.setIcon(0, icon)
531526
self.setToolTip(0, name)

0 commit comments

Comments
 (0)