┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius P <[email protected]>2024-06-16 03:43:20 +0300
committerMarius P <[email protected]>2024-06-16 03:43:20 +0300
commit22d5283eb7e7858d1375eaabfca467c2b03fed47 (patch)
treede9ee3202e0f88e03c10df4684a56a794b096735
parenta5efe00f0b31b48b1f1472ea9eb8f5f098d6f6b6 (diff)
Prefer en_US, "colour" -> "color"
-rw-r--r--src/kitemviews/kstandarditemlistwidget.cpp4
-rw-r--r--src/selectionmode/backgroundcolorhelper.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kitemviews/kstandarditemlistwidget.cpp b/src/kitemviews/kstandarditemlistwidget.cpp
index 10494ba7e..d2806082a 100644
--- a/src/kitemviews/kstandarditemlistwidget.cpp
+++ b/src/kitemviews/kstandarditemlistwidget.cpp
@@ -1513,8 +1513,8 @@ void KStandardItemListWidget::updateAdditionalInfoTextColor()
if (m_customTextColor.isValid()) {
c1 = m_customTextColor;
} else if (isSelected() && hasFocus && (m_layout != DetailsLayout || m_highlightEntireRow)) {
- // The detail text colour needs to match the main text (HighlightedText) for the same level
- // of readability. We short circuit early here to avoid interpolating with another colour.
+ // 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 color.
m_additionalInfoTextColor = styleOption().palette.color(QPalette::HighlightedText);
return;
} else {
diff --git a/src/selectionmode/backgroundcolorhelper.h b/src/selectionmode/backgroundcolorhelper.h
index 4f8ce81f5..f274593b8 100644
--- a/src/selectionmode/backgroundcolorhelper.h
+++ b/src/selectionmode/backgroundcolorhelper.h
@@ -47,7 +47,7 @@ private:
*/
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();
private: