SineStriker
2025-05-19 ac1a62b2a76e4d15e412b9579b80da2dafbc6d6a
examples/mainwindow/mainwindow.cpp
@@ -210,6 +210,11 @@
                });
#elif defined(Q_OS_MAC)
        // Set whether to use system buttons (close/minimize/zoom)
        // - true:  Hide system buttons (use custom UI controls)
        // - false: Show native system buttons (default behavior)
        windowAgent->setWindowAttribute(QStringLiteral("no-system-buttons"), false);
        auto darkBlurAction = new QAction(tr("Dark blur"), menuBar);
        darkBlurAction->setCheckable(true);
        connect(darkBlurAction, &QAction::toggled, this, [this](bool checked) {