Remove import of PyQt5.Qt unified module

Avaid unnecessary import of QtMultimediaWidgets
(https://www.riverbankcomputing.com/pipermail/pyqt/2016-February/036875.html)
This commit is contained in:
Ales Erjavec 2016-02-22 11:50:26 +01:00
parent 167bcbb7aa
commit dddd4f51e2

View File

@ -139,7 +139,7 @@ elif QT_LIB == PYQT5:
# We're using PyQt5 which has a different structure so we're going to use a shim to
# recreate the Qt4 structure for Qt5
from PyQt5 import QtGui, QtCore, QtWidgets, Qt, uic
from PyQt5 import QtGui, QtCore, QtWidgets, uic
try:
from PyQt5 import QtSvg
except ImportError: