diff --git a/qdarkstyle/__init__.py b/qdarkstyle/__init__.py index fc1779f..37b834c 100644 --- a/qdarkstyle/__init__.py +++ b/qdarkstyle/__init__.py @@ -55,7 +55,7 @@ import copy if sys.version_info >= (3, 4): import importlib -__version__ = "2.6.5" +__version__ = "2.6.6" QT_BINDINGS = ['PyQt4', 'PyQt5', 'PySide', 'PySide2'] @@ -211,7 +211,7 @@ def load_stylesheet(pyside=True): warnings.warn( "load_stylesheet() will not receive pyside parameter in version 3. " "Set QtPy environment variable to specify the Qt binding insteady.", - FutureWarning + PendingDeprecationWarning ) # Smart import of the rc file @@ -222,7 +222,7 @@ def load_stylesheet(pyside=True): # Detect the PySide version available try: import PySide - except ImportError: # Compatible with py27 + except ImportError: # Compatible with py27 import PySide2 pyside_ver = 2 else: