settings: remove unused function

This commit is contained in:
Andrzej Rybczak
2012-08-14 02:01:28 +02:00
parent 9ae502e66e
commit 23a612e184
2 changed files with 0 additions and 16 deletions

View File

@@ -268,21 +268,6 @@ void NcmpcppKeys::GenerateKeybindings()
# undef BIND
}
int NcmpcppKeys::GetFirstBinding(const ActionType at)
{
int result = 0;
std::multimap<int, Action *>::const_iterator it = Bindings.begin();
for (; it != Bindings.end(); ++it)
{
if (it->second->Type() == at)
{
result = it->first;
break;
}
}
return result;
}
void NcmpcppConfig::SetDefaults()
{
mpd_host = "localhost";

View File

@@ -53,7 +53,6 @@ struct NcmpcppKeys
> Binding;
void GenerateKeybindings();
int GetFirstBinding(const ActionType at);
std::multimap<int, Action *> Bindings;
};