diff options
Diffstat (limited to 'qtdesigner_plugins/plot1dplugin.py')
-rw-r--r-- | qtdesigner_plugins/plot1dplugin.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qtdesigner_plugins/plot1dplugin.py b/qtdesigner_plugins/plot1dplugin.py index 86982af..8bfdc50 100644 --- a/qtdesigner_plugins/plot1dplugin.py +++ b/qtdesigner_plugins/plot1dplugin.py @@ -2,7 +2,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2016 European Synchrotron Radiation Facility +# Copyright (c) 2016-2021 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -32,9 +32,7 @@ __date__ = "30/05/2016" from silx.gui import icons, qt -if qt.BINDING == 'PyQt4': - from PyQt4 import QtDesigner -elif qt.BINDING == 'PyQt5': +if qt.BINDING == 'PyQt5': from PyQt5 import QtDesigner else: raise RuntimeError("Unsupport Qt BINDING: %s" % qt.BINDING) |