fixed README C++ example

This commit is contained in:
David Krepsky 2015-12-12 13:44:49 -02:00
parent a81b3f62ea
commit a08cacd60b

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());
}
```