[desktop] windows: explicitly set Vista style
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
ff44444bda
commit
43aa971a59
1 changed files with 4 additions and 0 deletions
|
@ -5676,6 +5676,10 @@ int main(int argc, char* argv[]) {
|
||||||
// Enables the core to make the qt created contexts current on std::threads
|
// Enables the core to make the qt created contexts current on std::threads
|
||||||
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
|
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
QApplication::setStyle("Vista");
|
||||||
|
#endif
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue