mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-04 17:30:55 +00:00
Prefer en_US, "colour" -> "color"
This commit is contained in:
parent
a5efe00f0b
commit
22d5283eb7
|
@ -1513,8 +1513,8 @@ void KStandardItemListWidget::updateAdditionalInfoTextColor()
|
||||||
if (m_customTextColor.isValid()) {
|
if (m_customTextColor.isValid()) {
|
||||||
c1 = m_customTextColor;
|
c1 = m_customTextColor;
|
||||||
} else if (isSelected() && hasFocus && (m_layout != DetailsLayout || m_highlightEntireRow)) {
|
} else if (isSelected() && hasFocus && (m_layout != DetailsLayout || m_highlightEntireRow)) {
|
||||||
// The detail text colour needs to match the main text (HighlightedText) for the same level
|
// The detail text color needs to match the main text (HighlightedText) for the same level
|
||||||
// of readability. We short circuit early here to avoid interpolating with another colour.
|
// of readability. We short circuit early here to avoid interpolating with another color.
|
||||||
m_additionalInfoTextColor = styleOption().palette.color(QPalette::HighlightedText);
|
m_additionalInfoTextColor = styleOption().palette.color(QPalette::HighlightedText);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -47,7 +47,7 @@ private:
|
||||||
*/
|
*/
|
||||||
void slotPaletteChanged();
|
void slotPaletteChanged();
|
||||||
|
|
||||||
/** Calculates a new m_colorControlledWidgets based on the current colour scheme of the application. */
|
/** Calculates a new m_colorControlledWidgets based on the current color scheme of the application. */
|
||||||
void updateBackgroundColor();
|
void updateBackgroundColor();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user