Work on peer info display.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@260 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-07 23:40:48 +00:00
parent 45404b7473
commit b657554236
10 changed files with 199 additions and 21 deletions
+5 -4
View File
@@ -77,14 +77,15 @@ DownloadList::receive_view_download() {
if (m_focus == m_list->end())
return;
if (m_download != NULL)
throw std::logic_error("DownloadList::receive_view_download() called but m_download != NULL");
disable();
m_download = new Download(m_focus, m_control);
m_download = new Download(&*m_focus, m_control);
m_download->get_bindings()[KEY_LEFT] = sigc::mem_fun(*this, &DownloadList::receive_exit_download);
m_download->activate();
m_control->get_display().adjust_layout();
m_download->get_bindings()[KEY_LEFT] = sigc::mem_fun(*this, &DownloadList::receive_exit_download);
}
void