Skip to content
Permalink
Browse files

Merge pull request #9456 from Gustry/pyqt

replace some PyQt5 to qgis.PyQt
  • Loading branch information
m-kuhn committed Mar 10, 2019
2 parents a91ecd5 + 312473c commit 7ceb97aec61b1bc963b29dbdaa1e2b0e56999a02
@@ -24,7 +24,7 @@
#
###############################################################################

# avoid PendingDeprecationWarning from PyQt4.uic
# avoid PendingDeprecationWarning from qgis.PyQt.uic
import warnings
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
warnings.filterwarnings("ignore", category=DeprecationWarning)
@@ -36,7 +36,7 @@
QgsProcessingParameterType,
NULL)

from PyQt5.QtCore import QCoreApplication
from qgis.PyQt.QtCore import QCoreApplication

from processing.algs.qgis.QgisAlgorithm import QgisFeatureBasedAlgorithm

@@ -62,7 +62,7 @@
QgsProcessingParameterFeatureSource,
QgsProcessingParameterNumber)

from PyQt5.QtCore import QCoreApplication
from qgis.PyQt.QtCore import QCoreApplication

PARAMETER_NUMBER = 'number'
PARAMETER_DISTANCE = 'distance'
@@ -11,7 +11,7 @@
***************************************************************************
"""

from PyQt5.QtCore import QCoreApplication
from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsProcessing,
QgsFeatureSink,
QgsProcessingException,

0 comments on commit 7ceb97a

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