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

View File

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