| | |
| | | const auto &key = *static_cast<const QString *>(args[0]); |
| | | const auto &newVar = *static_cast<const QVariant *>(args[1]); |
| | | const auto &oldVar = *static_cast<const QVariant *>(args[2]); |
| | | |
| | | |
| | | if (key == QStringLiteral("no-system-buttons")) { |
| | | if (newVar.toBool()) { |
| | | // TODO: set off |
| | |
| | | // TODO: set on |
| | | } |
| | | } |
| | | break; |
| | | return; |
| | | } |
| | | |
| | | default: |
| | |
| | | AbstractWindowContext::virtual_hook(id, data); |
| | | } |
| | | |
| | | void CocoaWindowContext::winIdChanged(QWindow *oldWindow) { |
| | | void CocoaWindowContext::winIdChanged(QWindow *oldWindow, bool isDestroyed) { |
| | | releaseWindowProxy(windowId); |
| | | if (!m_windowHandle) { |
| | | return; |