┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectionmode/actiontexthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selectionmode/actiontexthelper.cpp')
-rw-r--r--src/selectionmode/actiontexthelper.cpp2
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 &registeredText)
{
Q_ASSERT(action);
m_registeredActionTextChanges.emplace_back(action, registeredText, TextWhenNothingIsSelected);