┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/private
diff options
context:
space:
mode:
authorKunda Ki <[email protected]>2025-09-03 12:04:13 +0000
committerKunda Ki <[email protected]>2025-09-03 12:04:13 +0000
commit479ce3a1641398a8506812300834666614013850 (patch)
treee137016cebe538153d07b010f350842d6c3a6f25 /src/kitemviews/private
parent93dd0db2eeb1fc41013e87e73f7fbd1956f26cd6 (diff)
Fix several user-facing and non-user-facing typos
Found via `codespell -S "*.desktop,*.po,*.svg,*.xml,./po" -L aparent,childs,goup,lokal`
Diffstat (limited to 'src/kitemviews/private')
-rw-r--r--src/kitemviews/private/kdirectorycontentscounterworker.cpp2
-rw-r--r--src/kitemviews/private/kitemlistheaderwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp
index 57cf7b1bc..8a69fb4e2 100644
--- a/src/kitemviews/private/kdirectorycontentscounterworker.cpp
+++ b/src/kitemviews/private/kdirectorycontentscounterworker.cpp
@@ -84,7 +84,7 @@ void KDirectoryContentsCounterWorker::walkDir(const QString &dirPath, bool count
if (info == FTS_D) {
if (node->fts_level == 0) {
- // first read was sucessful, we can init counters
+ // first read was successful, we can init counters
totalSize = 0;
totalCount = 0;
}
diff --git a/src/kitemviews/private/kitemlistheaderwidget.cpp b/src/kitemviews/private/kitemlistheaderwidget.cpp
index 3dc82ad6b..378dd1d5d 100644
--- a/src/kitemviews/private/kitemlistheaderwidget.cpp
+++ b/src/kitemviews/private/kitemlistheaderwidget.cpp
@@ -244,7 +244,7 @@ void KItemListHeaderWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
if (m_pressedGrip) {
// Emitting a column width change removes automatic column resizing, so we do not emit if only the padding is being changed.
- // Eception: In mouseMoveEvent() we also resize the last column if the right padding is at zero but the user still quickly resizes beyond the screen
+ // Exception: In mouseMoveEvent() we also resize the last column if the right padding is at zero but the user still quickly resizes beyond the screen
// boarder. Such a resize "of the right padding" is let through when automatic column resizing was disabled by that resize.
if (m_pressedGrip->roleToTheLeft != "leftPadding" && (m_pressedGrip->roleToTheRight != "rightPadding" || !m_automaticColumnResizing)) {
const qreal currentWidth = m_columnWidths.value(m_pressedGrip->roleToTheLeft);