diff options
author | 2024-05-13 17:15:32 +0200 | |
---|---|---|
committer | 2024-05-22 05:00:56 +0000 | |
commit | 4d4aa3078f27de4f241af5f34db7b5fcc6f29122 (patch) | |
tree | 0e93246a572c38124e710615dc450de194c2d519 | |
parent | QCommonStyle: fix drawing artifacts for some standard icons (diff) | |
download | qtbase-4d4aa3078f27de4f241af5f34db7b5fcc6f29122.tar.xz qtbase-4d4aa3078f27de4f241af5f34db7b5fcc6f29122.zip |
Fix documentation of QKdeThemePrivate::updateColorScheme()
The method's documentation mentions appearance, instead of color scheme.
Update it.
Task-number: QTBUG-125285
Pick-to: 6.5
Change-Id: Iceb2b7d0a51d0ba34f98dd942d7988feb685a4f6
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
(cherry picked from commit 802cd973f2e90f4fa947a8ae19158568e7e265b1)
-rw-r--r-- | src/gui/platform/unix/qgenericunixthemes.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/platform/unix/qgenericunixthemes.cpp b/src/gui/platform/unix/qgenericunixthemes.cpp index ce729a74a3..5cdaa1c22a 100644 --- a/src/gui/platform/unix/qgenericunixthemes.cpp +++ b/src/gui/platform/unix/qgenericunixthemes.cpp @@ -957,13 +957,13 @@ Qt::ColorScheme QKdeTheme::colorScheme() const /*! \internal - \brief QKdeTheme::setColorScheme - guess and set appearance for unix themes. - KDE themes do not have an appearance property. - The key words "dark" or "light" should be part of the theme name. + \brief QKdeTheme::updateColorScheme - guess and set a color scheme for unix themes. + KDE themes do not have a color scheme property. + The key words "dark" or "light" are usually part of the theme name. This is, however, not a mandatory convention. - If \param themeName contains a key word, the respective appearance is set. - If it doesn't, the appearance is heuristically determined by comparing text and base color + If \param themeName contains a valid key word, the respective color scheme is set. + If it doesn't, the color scheme is heuristically determined by comparing text and base color of the system palette. */ void QKdeThemePrivate::updateColorScheme(const QString &themeName) |