Merge pull request #9 from gkt-aardvark/patch-1

Single line fix for PyQt5 example.
main
Alexander Huszagh 2018-12-27 12:11:39 -06:00 committed by GitHub
commit bdf7438118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def main():
app = QtWidgets.QApplication(sys.argv) app = QtWidgets.QApplication(sys.argv)
// set stylesheet // set stylesheet
QFile file(":/dark.qss"); file = QFile(":/dark.qss")
file.open(QFile.ReadOnly | QFile.Text) file.open(QFile.ReadOnly | QFile.Text)
stream = QTextStream(file) stream = QTextStream(file)
app.setStyleSheet(stream.readAll()) app.setStyleSheet(stream.readAll())