fixed README C++ example

This commit is contained in:
David Krepsky 2015-12-12 13:44:49 -02:00
parent a81b3f62ea
commit a08cacd60b
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ else
{
f.open(QFile::ReadOnly | QFile::Text);
QTextStream ts(&f);
QApplication::instance()->setStyleSheet(ts.readAll());
qApp->setStyleSheet(ts.readAll());
}
```