From e418980b2fbd60a778f469b0d6852aab28df9001 Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Date: Mon, 11 Sep 2023 12:19:59 +0200 Subject: [PATCH] Update documentation for QPalette::accent API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The documentation for QPalette::accent had been missed and its updated as part of this patchset. Amends patchset 17c589df94a2245ee92d45839c2cba73566d7310. Fixes: QTBUG-116930 Pick-to: 6.6 Change-Id: Iaa53e15dbecaa3c741e2db013c96b4424be39e91 Reviewed-by: Jan Arve Sæther --- src/gui/kernel/qpalette.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/kernel/qpalette.cpp b/src/gui/kernel/qpalette.cpp index a949fe922d..449ba080af 100644 --- a/src/gui/kernel/qpalette.cpp +++ b/src/gui/kernel/qpalette.cpp @@ -309,6 +309,14 @@ static void qt_palette_from_color(QPalette &pal, const QColor &button) \sa ColorRole, brush() */ +/*! + \fn const QBrush & QPalette::accent() const + + Returns the accent brush of the current color group. + + \sa ColorRole, brush() +*/ + /*! \fn const QBrush & QPalette::link() const