Yuhang Zhao
2023-12-06 c9261fbd7019264e8543507e3afaec63d55595a2
src/widgets/widgetwindowagent.cpp
@@ -32,7 +32,9 @@
            return false;
        }
        std::ignore = w->winId(); // Make sure the window handle is created
        w->setAttribute(Qt::WA_DontCreateNativeAncestors);
        w->setAttribute(Qt::WA_NativeWindow);
        if (!d->setup(w, new WidgetItemDelegate())) {
            return false;
        }