Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fix progress reporting (fix #15521)
(cherry picked from commit b14dfa65fe8c5db852bac0899f8aac64b91faada)

Conflicts:
	python/plugins/processing/gui/AlgorithmDialogBase.py
  • Loading branch information
alexbruy committed Sep 13, 2016
1 parent 5a4a67a commit 9dfd7b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/ConcaveHull.py
Expand Up @@ -66,7 +66,7 @@ def processAlgorithm(self, progress):

# Delaunay triangulation from input point layer
progress.setText(self.tr('Creating Delaunay triangles...'))
delone_triangles = processing.runalg("qgis:delaunaytriangulation", layer, None, progress=None)['OUTPUT']
delone_triangles = processing.runalg("qgis:delaunaytriangulation", layer, None)['OUTPUT']
delaunay_layer = processing.getObject(delone_triangles)

# Get max edge length from Delaunay triangles
Expand Down Expand Up @@ -103,7 +103,7 @@ def processAlgorithm(self, progress):
# Dissolve all Delaunay triangles
progress.setText(self.tr('Dissolving Delaunay triangles...'))
dissolved = processing.runalg("qgis:dissolve", delaunay_layer,
True, None, None, progress=None)['OUTPUT']
True, None, None)['OUTPUT']
dissolved_layer = processing.getObject(dissolved)

# Save result
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/processing/gui/AlgorithmDialogBase.py
Expand Up @@ -172,9 +172,6 @@ def setText(self, text):
self.setInfo(text, False)
QCoreApplication.processEvents()

def error(self, msg):
self.setInfo(msg, error=True)

def setParamValues(self):
pass

Expand Down

0 comments on commit 9dfd7b2

Please sign in to comment.