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

improve code quality

parent 76b948ad
......@@ -28,7 +28,7 @@ public:
, modifiers(keyEvent->modifiers())
, text(keyEvent->text()){};
explicit KeyCombination(const QJsonArray json)
explicit KeyCombination(const QJsonArray &json)
{
Q_ASSERT(json.size() == 3);
Q_ASSERT(json.at(0).type() == QJsonValue::Double);
......
......@@ -20,7 +20,7 @@ public:
explicit Macro()
: QList<KeyCombination>(){};
explicit Macro(const QJsonValue json)
explicit Macro(const QJsonValue &json)
{
Q_ASSERT(json.type() == QJsonValue::Array);
QJsonArray::ConstIterator it;
......
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