From 327055934009dc416be6234db8e4d26fab81fb80 Mon Sep 17 00:00:00 2001 From: SineStriker <55847490+SineStriker@users.noreply.github.com> Date: ćšć, 21 12æ 2023 23:21:28 +0800 Subject: [PATCH] Merge pull request #8 from stdware/stylesupport --- src/widgets/widgetwindowagent.cpp | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/widgets/widgetwindowagent.cpp b/src/widgets/widgetwindowagent.cpp index af15481..b510efb 100644 --- a/src/widgets/widgetwindowagent.cpp +++ b/src/widgets/widgetwindowagent.cpp @@ -36,9 +36,7 @@ w->setAttribute(Qt::WA_DontCreateNativeAncestors); w->setAttribute(Qt::WA_NativeWindow); - if (!d->setup(w, new WidgetItemDelegate())) { - return false; - } + d->setup(w, new WidgetItemDelegate()); d->hostWidget = w; #ifdef Q_OS_WINDOWS @@ -57,9 +55,6 @@ if (!d->context->setTitleBar(w)) { return; } -#ifdef Q_OS_MACOS - d->setupMacOSTitleBar(w); -#endif Q_EMIT titleBarWidgetChanged(w); } -- Gitblit v1.9.1