Reload hotkey settings when they have changed

This also includes changing the registration

refs #83
This commit is contained in:
Roland Winklmeier
2014-03-05 17:31:08 +01:00
parent abb20a5154
commit 811bbdfe4e
5 changed files with 44 additions and 5 deletions

View File

@@ -68,7 +68,8 @@ namespace BlackCore
{
BlackMisc::Hardware::CKeyboardKeyList hotkeys = value.value<BlackMisc::Hardware::CKeyboardKeyList>();
this->m_hotkeys = hotkeys;
emit this->changedSettings();
emit this->changedSettings(SettingsHotKeys);
msgs.push_back(CStatusMessage::getInfoMessage("set hotkeys"));
return msgs;
}
@@ -84,7 +85,7 @@ namespace BlackCore
if (changed)
{
emit this->changedNetworkSettings();
emit this->changedSettings();
emit this->changedSettings(SettingsNetwork);
}
}
else