Skip to content
Permalink
Browse files

[GdalTools] add missed signals (fix #15348)

follow up 9db908c
  • Loading branch information
alexbruy committed Jul 28, 2016
1 parent 635c009 commit 572a60b7afdb78f8642d958b0cf7c3b7771ddcdf
Showing with 6 additions and 2 deletions.
  1. +6 −2 python/plugins/GdalTools/tools/doExtractProj.py
@@ -23,7 +23,7 @@
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'

from qgis.PyQt.QtCore import Qt, QCoreApplication, QThread, QMutex
from qgis.PyQt.QtCore import Qt, QCoreApplication, QThread, QMutex, pyqtSignal
from qgis.PyQt.QtWidgets import QDialog, QDialogButtonBox, QApplication, QMessageBox
from qgis.PyQt.QtGui import QCursor

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

class ExtractThread(QThread):

fileProcessed = pyqtSignal()
processFinished = pyqtSignal()
processInterrupted = pyqtSignal()

def __init__(self, files, needPrj):
QThread.__init__(self, QThread.currentThread())
self.inFiles = files
@@ -213,7 +217,7 @@ def run(self):
if not interrupted:
self.processFinished.emit()
else:
self.processIterrupted.emit()
self.processInterrupted.emit()

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

0 comments on commit 572a60b

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