Commit b1ecbaa3 authored by Tobias Hunger's avatar Tobias Hunger Committed by Eike Ziller
Browse files

ShortCutSettings: Remove a couple of letters of useless code



Change-Id: I99f1ef932c23162d40b57cfa9d7db8f91bf0fa60
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 04cc2029
......@@ -158,7 +158,7 @@ void ShortcutSettings::targetIdentifierChanged()
void ShortcutSettings::setKeySequence(const QKeySequence &key)
{
m_keyNum = m_key[0] = m_key[1] = m_key[2] = m_key[3] = 0;
m_key[0] = m_key[1] = m_key[2] = m_key[3] = 0;
m_keyNum = key.count();
for (int i = 0; i < m_keyNum; ++i) {
m_key[i] = key[i];
......
Markdown is supported
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