Revert "Only the main window and its childs should be native widgets"

This reverts commit fe3aab2a0e.
This commit is contained in:
Cacodemon345
2024-01-17 01:26:11 +06:00
parent fe3aab2a0e
commit 50e1a88463
2 changed files with 1 additions and 7 deletions

View File

@@ -176,6 +176,7 @@ main(int argc, char *argv[])
#ifdef Q_OS_WINDOWS
Q_INIT_RESOURCE(darkstyle);
QApplication::setAttribute(Qt::AA_NativeWindows);
if (!windows_is_light_theme()) {
QFile f(":qdarkstyle/dark/darkstyle.qss");