mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 23:29:21 +00:00
* Fixed the log redraw which didn't happen as the display's scheduler
didn't get re-added to the task scheduler until a new event happened. * Added redraw delay interval of 100ms, consider 50ms. * Removed exceptions from core::DownloadStore::save. * Added load, load_run, tied_stop and tied_remove to man-page. * Cleaned up the command/option instances, move them to Control. * PCB::load_up_chunk grabbed the errno from m_downChunk, not m_upChunk. * Various string operations were moved to rak/string_manip.h. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@617 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -42,7 +42,9 @@
|
||||
|
||||
namespace display {
|
||||
|
||||
Window::Slot Window::m_slotAdjust;
|
||||
Window::SlotTimer Window::m_slotSchedule;
|
||||
Window::SlotWindow Window::m_slotUnschedule;
|
||||
Window::Slot Window::m_slotAdjust;
|
||||
|
||||
Window::Window(Canvas* c, bool d, int h) :
|
||||
m_canvas(c),
|
||||
@@ -54,7 +56,7 @@ Window::Window(Canvas* c, bool d, int h) :
|
||||
}
|
||||
|
||||
Window::~Window() {
|
||||
priority_queue_erase(&displayScheduler, &m_taskUpdate);
|
||||
m_slotUnschedule(this);
|
||||
delete m_canvas;
|
||||
}
|
||||
|
||||
@@ -63,7 +65,7 @@ Window::set_active(bool a) {
|
||||
if (a)
|
||||
mark_dirty();
|
||||
else
|
||||
priority_queue_erase(&displayScheduler, &m_taskUpdate);
|
||||
m_slotUnschedule(this);
|
||||
|
||||
m_active = a;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user