mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
Improved the http progress display, includes truncated names, download
progress and 10 second delay on hiding. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@286 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+3
-1
@@ -61,6 +61,8 @@ do_shutdown(ui::Control* c) {
|
||||
std::mem_fun_ref(&core::Download::close));
|
||||
|
||||
}
|
||||
|
||||
start_shutdown = false;
|
||||
}
|
||||
|
||||
void
|
||||
@@ -124,7 +126,7 @@ main(int argc, char** argv) {
|
||||
uiControl.get_display().adjust_layout();
|
||||
|
||||
while (!is_shutting_down || !torrent::get(torrent::SHUTDOWN_DONE)) {
|
||||
if (start_shutdown && !is_shutting_down)
|
||||
if (start_shutdown)
|
||||
do_shutdown(&uiControl);
|
||||
|
||||
Timer::update();
|
||||
|
||||
Reference in New Issue
Block a user