Skip to content

Commit 572a60b

Browse files
committedJul 28, 2016
[GdalTools] add missed signals (fix #15348)
follow up 9db908c
1 parent 635c009 commit 572a60b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎python/plugins/GdalTools/tools/doExtractProj.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# This will get replaced with a git SHA1 when you do a git archive
2424
__revision__ = '$Format:%H$'
2525

26-
from qgis.PyQt.QtCore import Qt, QCoreApplication, QThread, QMutex
26+
from qgis.PyQt.QtCore import Qt, QCoreApplication, QThread, QMutex, pyqtSignal
2727
from qgis.PyQt.QtWidgets import QDialog, QDialogButtonBox, QApplication, QMessageBox
2828
from qgis.PyQt.QtGui import QCursor
2929

@@ -184,6 +184,10 @@ def extractProjection(filename, createPrj):
184184

185185
class ExtractThread(QThread):
186186

187+
fileProcessed = pyqtSignal()
188+
processFinished = pyqtSignal()
189+
processInterrupted = pyqtSignal()
190+
187191
def __init__(self, files, needPrj):
188192
QThread.__init__(self, QThread.currentThread())
189193
self.inFiles = files
@@ -213,7 +217,7 @@ def run(self):
213217
if not interrupted:
214218
self.processFinished.emit()
215219
else:
216-
self.processIterrupted.emit()
220+
self.processInterrupted.emit()
217221

218222
def stop(self):
219223
self.mutex.lock()

0 commit comments

Comments
 (0)
Please sign in to comment.