mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 19:52:31 +00:00
* Bumped version number to 0.10.2/0.5.2.
* Support for qwertz keyboard layout. * Added support for preloading chunks which will be uploaded. Currently just loads the whole chunk, so it needs to be improved or disabled before release. * Added PeerInfo::transfer_counter which keeps track of the number of BlockTransfers referring to this object. * Added PeerList::cull_peers that is called every hour to remove unnessesary PeerInfo from the list.. * In PollKQueue and PollEPoll check that the event we received is still wanted. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@768 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -129,6 +129,12 @@ Root::setup_keys() {
|
||||
m_bindings['Q'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), 1);
|
||||
m_bindings['W'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), -1);
|
||||
|
||||
} else if (strcasecmp(control->variable()->get_string("key_layout").c_str(), "qwertz") == 0) {
|
||||
m_bindings['a'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), 1);
|
||||
m_bindings['y'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), -1);
|
||||
m_bindings['A'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), 1);
|
||||
m_bindings['Y'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), -1);
|
||||
|
||||
} else {
|
||||
m_bindings['a'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), 1);
|
||||
m_bindings['z'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), -1);
|
||||
|
||||
Reference in New Issue
Block a user