Skip to content
Browse files

bug fix for new pyside QByteArray in setStyleSheet which only accepts

QString.
  • Loading branch information...
1 parent 1a329c0 commit e95b276f2dd47428d1579baee26a9b7c9c8f61ce Your Name committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.py
View
2 main.py
@@ -296,7 +296,7 @@ def addchip(chip, scene, pos):
size = self.pic.size()
self.wgt.resize(size.width(), size.height())
if QtCore.QDir.setCurrent('./data/gfx/table/default/'):
- self.wgt.setStyleSheet(common.loadStyleSheet('style.css'))
+ self.wgt.setStyleSheet(str(common.loadStyleSheet('style.css')))
QtCore.QDir.setCurrent('../../../../')
scene.addWidget(self.wgt)
self.view.setRenderHints(QtGui.QPainter.Antialiasing|QtGui.QPainter.SmoothPixmapTransform)

0 comments on commit e95b276

Please sign in to comment.
Something went wrong with that request. Please try again.