Commit a82b3b2b authored by Dirk Wilden's avatar Dirk Wilden

added a warning when a key is forced to be registered as multiUse

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@2836 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bf20a24e
......@@ -474,6 +474,9 @@ CoreWidget::slotRegisterKey(int _key, Qt::KeyboardModifiers _modifiers, QString
kb.description = _description;
kb.multiUse = multi || _multiUse;
if (multi && !_multiUse)
log(LOGWARN, "Key registered as multiUse key.");
coreKeys_.push_back( kb );
return;
}
......@@ -496,6 +499,9 @@ CoreWidget::slotRegisterKey(int _key, Qt::KeyboardModifiers _modifiers, QString
kb.description = _description;
kb.multiUse = multi || _multiUse;
if (multi && !_multiUse)
log(LOGWARN, "Key registered as multiUse key.");
pluginInfo->keys.append( kb );
}
......
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