Fix bad importÃ

This commit is contained in:
Aurélien Ballier 2014-11-11 19:39:05 +01:00
parent f3284e57a6
commit 37252a67cc

View File

@ -22,11 +22,11 @@ import sys
if 'PyQt4.QtGui' not in sys.modules:
try:
from PyQt5.QtGui import QImage, qRgb
from PyQt5.QtGui import QImage, qRgba
except:
from PyQt4.QtGui import QImage, qRgb
from PyQt4.QtGui import QImage, qRgba
else: #PyQt4 is used
from PyQt4.QtGui import QImage, qRgb
from PyQt4.QtGui import QImage, qRgba
##
# (Internal) Turns an RGB color into a Qt compatible color integer.