settings: remove unused function
This commit is contained in:
@@ -268,21 +268,6 @@ void NcmpcppKeys::GenerateKeybindings()
|
|||||||
# undef BIND
|
# 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()
|
void NcmpcppConfig::SetDefaults()
|
||||||
{
|
{
|
||||||
mpd_host = "localhost";
|
mpd_host = "localhost";
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ struct NcmpcppKeys
|
|||||||
> Binding;
|
> Binding;
|
||||||
|
|
||||||
void GenerateKeybindings();
|
void GenerateKeybindings();
|
||||||
int GetFirstBinding(const ActionType at);
|
|
||||||
|
|
||||||
std::multimap<int, Action *> Bindings;
|
std::multimap<int, Action *> Bindings;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user