Switch to unified view
a/HelperStructs/Style.cpp | b/HelperStructs/Style.cpp | ||
---|---|---|---|
... |
... |
||
28 | QString Style::get_style(bool dark) |
28 | QString Style::get_style(bool dark) |
29 | { |
29 | { |
30 | QString style; |
30 | QString style; |
31 | 31 | ||
32 | if (!dark) { |
32 | if (!dark) { |
33 | Helper::read_file_into_str(Helper::getSharePath() + "standard.css", |
33 | Helper::read_file_into_str(Helper::getSharePath() + "/standard.css",
|
34 | &style); |
34 | &style); |
35 | } else { |
35 | } else { |
36 | Helper::read_file_into_str(Helper::getSharePath() + "dark.css", &style); |
36 | Helper::read_file_into_str(Helper::getSharePath() + "/dark.css", &style); |
37 | } |
37 | } |
38 | 38 | ||
39 | return style; |
39 | return style; |
40 | } |
40 | } |
41 | 41 |