diff --git a/python/plugins/fTools/tools/doMergeShapes.py b/python/plugins/fTools/tools/doMergeShapes.py index cd7dcd67d12..1c40a7370d6 100644 --- a/python/plugins/fTools/tools/doMergeShapes.py +++ b/python/plugins/fTools/tools/doMergeShapes.py @@ -130,7 +130,6 @@ class Dialog( QDialog, Ui_Dialog ): if self.inEncoding == None: self.inEncoding = "System" - QApplication.setOverrideCursor( QCursor( Qt.WaitCursor ) ) self.btnOk.setEnabled( False ) self.mergeThread = ShapeMergeThread( baseDir, self.inputFiles, self.inEncoding, self.outFileName, self.encoding ) @@ -192,7 +191,6 @@ class Dialog( QDialog, Ui_Dialog ): self.progressFeatures.setRange( 0, 100 ) self.progressFeatures.setValue( 0 ) self.progressFiles.setValue( 0 ) - QApplication.restoreOverrideCursor() QObject.connect( self.buttonBox, SIGNAL( "rejected()" ), self.reject ) self.btnClose.setText( self.tr( "Close" ) ) self.btnOk.setEnabled( True ) diff --git a/python/plugins/fTools/tools/doSimplify.py b/python/plugins/fTools/tools/doSimplify.py index 9a88ba99955..821a7da83be 100644 --- a/python/plugins/fTools/tools/doSimplify.py +++ b/python/plugins/fTools/tools/doSimplify.py @@ -90,7 +90,6 @@ class Dialog( QDialog, Ui_Dialog ): def accept( self ): vLayer = ftools_utils.getVectorLayerByName( self.cmbInputLayer.currentText() ) - QApplication.setOverrideCursor( Qt.WaitCursor ) self.btnOk.setEnabled( False ) if self.chkWriteShapefile.isChecked(): @@ -156,7 +155,6 @@ class Dialog( QDialog, Ui_Dialog ): def restoreGui( self ): self.progressBar.setValue( 0 ) - QApplication.restoreOverrideCursor() QObject.connect( self.buttonBox, SIGNAL( "rejected()" ), self.reject ) self.btnClose.setText( self.tr( "Close" ) ) self.btnOk.setEnabled( True ) diff --git a/python/plugins/fTools/tools/doSpatialIndex.py b/python/plugins/fTools/tools/doSpatialIndex.py index 4466c689a25..9372d539bfd 100644 --- a/python/plugins/fTools/tools/doSpatialIndex.py +++ b/python/plugins/fTools/tools/doSpatialIndex.py @@ -108,7 +108,6 @@ class Dialog( QDialog, Ui_Dialog ): self.lstLayers.clear() def accept( self ): - QApplication.setOverrideCursor( Qt.WaitCursor ) self.btnOk.setEnabled( False ) self.workThread = SpatialIdxThread( self.layers, self.chkExternalFiles.isChecked() ) @@ -147,7 +146,6 @@ class Dialog( QDialog, Ui_Dialog ): def restoreGui( self ): self.progressBar.setValue( 0 ) - QApplication.restoreOverrideCursor() QObject.connect( self.buttonBox, SIGNAL( "rejected()" ), self.reject ) self.btnClose.setText( self.tr( "Close" ) ) self.btnOk.setEnabled( True )