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
+1 -1
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");