diff options
| author | Méven Car <[email protected]> | 2026-01-22 16:15:09 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-01-22 16:27:11 +0100 |
| commit | 1acd0dfe09a34817d8daf58db2c53b2262eec7b7 (patch) | |
| tree | 94cab48dc8ad7c79c4fed016b8d0935c4e8dc3e5 /src/selectionmode/actiontexthelper.cpp | |
| parent | a403c0c6058d5064b8cc439edb41eb52ae384046 (diff) | |
clang-tidy: avoid copy, use const references
Diffstat (limited to 'src/selectionmode/actiontexthelper.cpp')
| -rw-r--r-- | src/selectionmode/actiontexthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selectionmode/actiontexthelper.cpp b/src/selectionmode/actiontexthelper.cpp index 1e331860a..0f7318db8 100644 --- a/src/selectionmode/actiontexthelper.cpp +++ b/src/selectionmode/actiontexthelper.cpp @@ -14,7 +14,7 @@ ActionTextHelper::ActionTextHelper(QObject *parent) { } -void ActionTextHelper::registerTextWhenNothingIsSelected(QAction *action, QString registeredText) +void ActionTextHelper::registerTextWhenNothingIsSelected(QAction *action, const QString ®isteredText) { Q_ASSERT(action); m_registeredActionTextChanges.emplace_back(action, registeredText, TextWhenNothingIsSelected); |
