Merge pull request #34 from DKrepsky/fix-README-c++example

fixed README C++ example
This commit is contained in:
Colin Duquesnoy 2015-12-13 11:16:56 +01:00
commit e70217106c

View File

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