mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 23:59:22 +00:00
Made log complete an element.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@360 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
#include "display/window_peer_list.h"
|
||||
#include "display/window_download_list.h"
|
||||
|
||||
#include "control.h"
|
||||
#include "element_download_list.h"
|
||||
@@ -43,9 +43,9 @@ ElementDownloadList::activate(Control* c, MItr mItr) {
|
||||
if (m_window != NULL)
|
||||
throw std::logic_error("ui::ElementDownloadList::activate(...) called on an object in the wrong state");
|
||||
|
||||
// c->get_input().push_front(&m_bindings);
|
||||
c->get_input().push_front(&m_bindings);
|
||||
|
||||
// *mItr = m_window = new WDownloadList(m_download, m_list, m_focus);
|
||||
*mItr = m_window = new WDownloadList(m_list, m_focus);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -53,10 +53,10 @@ ElementDownloadList::disable(Control* c) {
|
||||
if (m_window == NULL)
|
||||
throw std::logic_error("ui::ElementDownloadList::disable(...) called on an object in the wrong state");
|
||||
|
||||
// c->get_input().erase(&m_bindings);
|
||||
c->get_input().erase(&m_bindings);
|
||||
|
||||
// delete m_window;
|
||||
// m_window = NULL;
|
||||
delete m_window;
|
||||
m_window = NULL;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user