Fixed stylesheet resource path in example code

This commit is contained in:
Aleksa 2018-03-13 11:37:17 +01:00 committed by GitHub
parent 74f68b9c39
commit 957166aed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ From code: Download/clone the project, go to ``qdarkstyle`` folder then:
- Load the stylesheet:
```cpp
QFile f("qdarkstyle/style.qss");
QFile f(":qdarkstyle/style.qss");
if (!f.exists())
{
printf("Unable to set stylesheet, file not found\n");