From be703385249bafd679a125efc1477ff166e2c9e2 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 21 12æ 2023 17:08:40 +0800 Subject: [PATCH] minor tweaks --- src/core/windowagentbase.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp index c043838..819dfb2 100644 --- a/src/core/windowagentbase.cpp +++ b/src/core/windowagentbase.cpp @@ -55,9 +55,9 @@ return d->context->windowAttribute(key); } - void WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &var) { + bool WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &attribute) { Q_D(WindowAgentBase); - d->context->setWindowAttribute(key, var); + return d->context->setWindowAttribute(key, attribute); } void WindowAgentBase::showSystemMenu(const QPoint &pos) { -- Gitblit v1.9.1