Commit b68990a3 authored by Pablo Rauzy's avatar Pablo Rauzy Committed by Christoph Cullmann
Browse files

improve code quality: Minor - Function parameter 'text' should be passed by const reference.

parent e7f829b1
......@@ -24,7 +24,7 @@ private:
public:
KeyCombination(){};
KeyCombination(const int key, const Qt::KeyboardModifiers modifiers, const QString text)
KeyCombination(const int key, const Qt::KeyboardModifiers modifiers, const QString &text)
: m_key(key)
, m_modifiers(modifiers)
, m_text(text){};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment