rename keys.{cpp,h} to bindings.{cpp,h}

This commit is contained in:
Andrzej Rybczak
2012-09-05 23:19:34 +02:00
parent 8ef252ec6e
commit 1be7676187
6 changed files with 36 additions and 25 deletions

View File

@@ -32,10 +32,10 @@
#include "helpers.h"
#include "utility/comparators.h"
#include "bindings.h"
#include "browser.h"
#include "clock.h"
#include "help.h"
#include "keys.h"
#include "media_library.h"
#include "lastfm.h"
#include "lyrics.h"
@@ -249,7 +249,7 @@ void Action::Seek()
int howmuch = Config.incremental_seeking ? (myPlaylist->Timer()-t)/2+Config.seek_time : Config.seek_time;
Key input = Key::read(*wFooter);
auto k = Keys.Bindings.equal_range(input);
auto k = Bindings.get(input);
if (k.first == k.second || !k.first->second.isSingle()) // no single action?
break;
Action *a = k.first->second.action();