diff --git a/README.md b/README.md index f362036d8..9c941e37a 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ else { f.open(QFile::ReadOnly | QFile::Text); QTextStream ts(&f); - QApplication::instance()->setStyleSheet(ts.readAll()); + qApp->setStyleSheet(ts.readAll()); } ```