Skip to content

Commit a077aa9

Browse files
authored
Merge pull request #6 from weijer/fix_importplus
1. fix mochaimport
2 parents 25c859c + a8c92f2 commit a077aa9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

python/mamoworld/mochaImportPlus/version_03f30d0a/mochaimport.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def initUI(a):
269269

270270
# from PySide import QtGui as l, QtCore
271271
from Qt import QtWidgets as l, QtCore
272+
from Qt import QtGui as qui
272273

273274

274275
class dp(object):
@@ -362,7 +363,7 @@ def initUI(a):
362363
h = a.wehsrhv.ertzz()
363364
dt = l.QHBoxLayout()
364365
fj = hi.getFolder() + 'about.png'
365-
fk = l.QPixmap(fj)
366+
fk = qui.QPixmap(fj)
366367
du = l.QLabel('No image available')
367368
du.setPixmap(fk)
368369
dt.addWidget(du)

python/mamoworld/mochaImportPlus/version_d1f20d0a/mochaimport.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ def initUI(a):
271271

272272
# from PySide import QtGui as l, QtCore
273273
from Qt import QtWidgets as l, QtCore
274+
from Qt import QtGui as qui
274275

275276

276277
class dp(object):
@@ -362,7 +363,7 @@ def initUI(a):
362363
h = a.wehsrhv.ertzz()
363364
dt = l.QHBoxLayout()
364365
fj = hi.getFolder() + 'about.png'
365-
fk = l.QPixmap(fj)
366+
fk = qui.QPixmap(fj)
366367
du = l.QLabel('No image available')
367368
du.setPixmap(fk)
368369
dt.addWidget(du)

0 commit comments

Comments
 (0)