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)
This commit is contained in:
parent
82b3f3fbaf
commit
4d4aa3078f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user