diff --git a/python/plugins/fTools/tools/doMergeShapes.py b/python/plugins/fTools/tools/doMergeShapes.py index cd7dcd67d126..1c40a7370d60 100644 --- a/python/plugins/fTools/tools/doMergeShapes.py +++ b/python/plugins/fTools/tools/doMergeShapes.py @@ -130,7 +130,6 @@ def accept( self ): 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 @@ def restoreGui( self ): 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 9a88ba999554..821a7da83be7 100644 --- a/python/plugins/fTools/tools/doSimplify.py +++ b/python/plugins/fTools/tools/doSimplify.py @@ -90,7 +90,6 @@ def selectOutputFile( self ): 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 @@ def stopProcessing( self ): 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 4466c689a25b..9372d539bfdc 100644 --- a/python/plugins/fTools/tools/doSpatialIndex.py +++ b/python/plugins/fTools/tools/doSpatialIndex.py @@ -108,7 +108,6 @@ def clearList( self ): 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 @@ def stopProcessing( self ): 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 )