Skip to content

Commit

Permalink
[gdaltools] add missed signals (fix #15623)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Oct 13, 2016
1 parent 06a84f9 commit 5adb90d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/plugins/GdalTools/tools/doExtractProj.py
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5adb90d

Please sign in to comment.