lightpreview: set dark theme
This commit is contained in:
parent
6c6bed2597
commit
2e0e4141cf
|
|
@ -31,6 +31,8 @@ int main(int argc, char *argv[])
|
||||||
QCoreApplication::setApplicationName("lightpreview");
|
QCoreApplication::setApplicationName("lightpreview");
|
||||||
|
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
a.setStyle("fusion");
|
||||||
|
a.setPalette(QPalette(QColor(64, 64, 64)));
|
||||||
|
|
||||||
QSurfaceFormat fmt;
|
QSurfaceFormat fmt;
|
||||||
fmt.setVersion(3, 3);
|
fmt.setVersion(3, 3);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue