┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
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/search
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/search')
-rw-r--r--src/search/bar.h4
-rw-r--r--src/search/dolphinquery.cpp2
-rw-r--r--src/search/widgetmenu.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/search/bar.h b/src/search/bar.h
index e8a401748..c45e838c7 100644
--- a/src/search/bar.h
+++ b/src/search/bar.h
@@ -137,7 +137,7 @@ private Q_SLOTS:
/**
* Is called when any component within this Bar emits a configurationChanged() signal.
* This method is then responsible to communicate the changed search configuration to every other interested party by calling
- * UpdatableStateInterface::updateStateToMatch() methods and commiting the new search configuration.
+ * UpdatableStateInterface::updateStateToMatch() methods and committing the new search configuration.
* @see UpdatableStateInterface::updateStateToMatch().
* @see commitCurrentConfiguration().
*/
@@ -145,7 +145,7 @@ private Q_SLOTS:
/**
* Changes the m_searchConfiguration in response to the user editing the search term. If no further changes to the search term happen within a time limit,
- * the new search configuration will eventually be commited.
+ * the new search configuration will eventually be committed.
* @see commitCurrentConfiguration.
*/
void slotSearchTermEdited(const QString &text);
diff --git a/src/search/dolphinquery.cpp b/src/search/dolphinquery.cpp
index 100bac4d0..55c9fa223 100644
--- a/src/search/dolphinquery.cpp
+++ b/src/search/dolphinquery.cpp
@@ -317,7 +317,7 @@ void DolphinQuery::initializeFromBalooQuery(const Baloo::Query &balooQuery, cons
// UI does not support searching for differing strings in content and file name.
m_searchTerm = value;
}
- if (!requestedToSearchThrough.has_value()) { // If requested to search thorugh contents, searching file names is already implied.
+ if (!requestedToSearchThrough.has_value()) { // If requested to search through contents, searching file names is already implied.
requestedToSearchThrough = SearchThrough::FileNames;
}
}
diff --git a/src/search/widgetmenu.h b/src/search/widgetmenu.h
index def75354f..91680d983 100644
--- a/src/search/widgetmenu.h
+++ b/src/search/widgetmenu.h
@@ -40,7 +40,7 @@ protected:
void mouseReleaseEvent(QMouseEvent *event) override;
/**
- * This unfortuantely needs to be explicitly called to resize the WidgetMenu because the size of a QMenu will not automatically change to fit the QWidgets
+ * This unfortunately needs to be explicitly called to resize the WidgetMenu because the size of a QMenu will not automatically change to fit the QWidgets
* within.
*/
void resizeToFitContents();
@@ -53,7 +53,7 @@ protected:
private:
/**
* @return the widget which is contained in this WidgetMenu. This method is at most called once per WidgetMenu object when the WidgetMenu is about to be
- * shown for the first time. The ownership of the widget will be transfered to an internal QWidgetAction.
+ * shown for the first time. The ownership of the widget will be transferred to an internal QWidgetAction.
*/
virtual QWidget *init() = 0;
};