Only the main window and its childs should be native widgets

This commit is contained in:
Cacodemon345
2024-01-17 00:56:07 +06:00
parent 25ec6f65c4
commit fe3aab2a0e
2 changed files with 7 additions and 1 deletions

View File

@@ -176,7 +176,6 @@ 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");