Skip to content

Commit

Permalink
replace some PyQt5 to qgis.PyQt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Mar 10, 2019
1 parent ddca636 commit 2076ca4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/plugins/MetaSearch/util.py
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/FieldsMapper.py
Expand Up @@ -36,7 +36,7 @@
QgsProcessingParameterType,
NULL)

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

from processing.algs.qgis.QgisAlgorithm import QgisFeatureBasedAlgorithm

Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/core/parameters.py
Expand Up @@ -62,7 +62,7 @@
QgsProcessingParameterFeatureSource,
QgsProcessingParameterNumber)

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

PARAMETER_NUMBER = 'number'
PARAMETER_DISTANCE = 'distance'
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptTemplate.py
Expand Up @@ -11,7 +11,7 @@
***************************************************************************
"""

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

0 comments on commit 2076ca4

Please sign in to comment.