Skip to content
Permalink
Browse files

replace some PyQt5 to qgis.PyQt

  • Loading branch information
Gustry committed Mar 10, 2019
1 parent ddca636 commit 2076ca4fe0a4aa2bad98ab9a40c27ec3649c1960
@@ -24,7 +24,7 @@
#
###############################################################################

# avoid PendingDeprecationWarning from PyQt4.uic
# avoid PendingDeprecationWarning from 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 2076ca4

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