Switch to unified view

a/HelperStructs/Style.cpp b/HelperStructs/Style.cpp
...
...
24
24
25
25
26
QString Style::get_style(bool dark)
26
QString Style::get_style(bool dark)
27
{
27
{
28
    QString commonstyle;
28
    QString commonstyle;
29
    Helper::read_file_into_str(Helper::getSharePath() + "/common.css", 
29
    Helper::read_file_into_str(Helper::getSharePath() + "/common.qss", 
30
                               &commonstyle);
30
                               &commonstyle);
31
    QString style;
31
    QString style;
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.qss", 
34
                                   &style);
34
                                   &style);
35
    } else {
35
    } else {
36
         Helper::read_file_into_str(Helper::getSharePath() + "/dark.css",
36
         Helper::read_file_into_str(Helper::getSharePath() + "/dark.qss",
37
                                    &style);
37
                                    &style);
38
    }
38
    }
39
39
40
    return commonstyle + style;
40
    return commonstyle + style;
41
}
41
}