Single line fix for PyQt5 example

Just fixed the typo in the PyQt5 line from C++ syntax to Python
main
GKT 2018-12-27 09:01:22 -07:00 committed by GitHub
parent 72c6c48796
commit 20e24df905
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)
// set stylesheet
QFile file(":/dark.qss");
file = QFile(":/dark.qss")
file.open(QFile.ReadOnly | QFile.Text)
stream = QTextStream(file)
app.setStyleSheet(stream.readAll())