SineStriker
2023-12-21 327055934009dc416be6234db8e4d26fab81fb80
src/stylesupport/styleagent_mac.mm
New file
@@ -0,0 +1,29 @@
#include "styleagent_p.h"
#include <QtCore/QVariant>
namespace QWK {
    void StyleAgentPrivate::setupSystemThemeHook() {
    }
    void StyleAgentPrivate::removeSystemThemeHook() {
    }
    bool StyleAgentPrivate::updateWindowAttribute(QWindow *window, const QString &key,
                                                  const QVariant &attribute,
                                                  const QVariant &oldAttribute) {
        Q_UNUSED(oldAttribute)
        if (key == QStringLiteral("no-system-buttons")) {
            if (attribute.toBool()) {
                // TODO: set off
            } else {
                // TODO: set on
            }
            return true;
        }
        return false;
    }
}