mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-05 08:51:19 -05:00
Fixed stylesheet resource path in example code
This commit is contained in:
parent
74f68b9c39
commit
957166aed3
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user