From 862cbfe3032b1f71977fb66af7bd87645ec3eeac Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 21 12æ 2023 23:27:04 +0800 Subject: [PATCH] minor tweaks --- src/core/windowagentbase.cpp | 20 -------------------- 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp index 159d678..72b1229 100644 --- a/src/core/windowagentbase.cpp +++ b/src/core/windowagentbase.cpp @@ -50,26 +50,6 @@ WindowAgentBase::~WindowAgentBase() = default; - QVariant WindowAgentBase::windowAttribute(const QString &key) const { - Q_D(const WindowAgentBase); - return d->context->windowAttribute(key); - } - - void WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &var) { - Q_D(WindowAgentBase); - d->context->setWindowAttribute(key, var); - } - - bool WindowAgentBase::isEnabled() const { - Q_D(const WindowAgentBase); - return d->context->isEnabled(); - } - - void WindowAgentBase::setEnabled(bool enabled) { - Q_D(WindowAgentBase); - d->context->setEnabled(enabled); - } - void WindowAgentBase::showSystemMenu(const QPoint &pos) { Q_D(WindowAgentBase); d->context->showSystemMenu(pos); -- Gitblit v1.9.1