src/main.cpp

changeset 15
c58b82549713
parent 14
8a304c898a75
child 16
a5d8e783a7b0
equal deleted inserted replaced
14:8a304c898a75 15:c58b82549713
33 #else 33 #else
34 "bmsapp" 34 "bmsapp"
35 #endif 35 #endif
36 ); 36 );
37 app.setApplicationVersion(VERSIONSTRING); 37 app.setApplicationVersion(VERSIONSTRING);
38 // app.setStyle("oxygen");
39 app.setOrganizationName("mbse"); 38 app.setOrganizationName("mbse");
40 39
40 /* Stylesheet setup */
41 QFile f(":/qdarkstyle/theme/style.qss"); 41 QFile f(":/qdarkstyle/theme/style.qss");
42
43 if (!f.exists()) { 42 if (!f.exists()) {
44 printf("Unable to set stylesheet, file not found\n"); 43 printf("Unable to set stylesheet, file not found\n");
45 } else { 44 } else {
46 f.open(QFile::ReadOnly | QFile::Text); 45 f.open(QFile::ReadOnly | QFile::Text);
47 QTextStream ts(&f); 46 QTextStream ts(&f);

mercurial