Fixed PySide 1.x syntax

This commit is contained in:
alby128 2017-09-11 14:42:24 +02:00
parent 64179c392a
commit ed9e26374a

View File

@ -1358,8 +1358,8 @@ class MainWindow(QtGui.QMainWindow):
window.mainLayout.setMenuBar(window.menuBar)
def openAbout(self):
#AboutMsgBox = QtWidgets.QMessageBox.about(self,"Syncplay","Syncplay v" + version)
AboutMsgBox = QtWidgets.QMessageBox(self)
#AboutMsgBox = QtGui.QMessageBox.about(self,"Syncplay","Syncplay v" + version)
AboutMsgBox = QtGui.QMessageBox(self)
AboutMsgBox.setText("<center>Syncplay<br><small><a href=\"http://syncplay.pl\">syncplay.pl</a></center>")
AboutMsgBox.setInformativeText("<center>Version v" + version + "<p>Copyright &copy; 2017 Syncplay</p><p>Licensed under the Apache License, Version 2.0</p></center>")
AboutIcon = QtGui.QPixmap(self.resourcespath + u"syncplay.png")