Skip to content
Permalink
Browse files

[GdalTools] add missed signals (fix #15348)

follow up 9db908c

(cherry picked from commit 572a60b)
  • Loading branch information
alexbruy committed Jul 28, 2016
1 parent a91e20f commit 22a072e13fd3194730a690f8b1ce1b5d6a4c064b
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 22a072e

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