From 4a69424a382a681dc0a88a525ddf0495a7c47ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 4 May 2012 13:08:24 +0000 Subject: [PATCH] autoremove file only if configured to clean up; refs #119 --- src/browser.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser.hxx b/src/browser.hxx index 28ad584..d1fde3a 100644 --- a/src/browser.hxx +++ b/src/browser.hxx @@ -1451,7 +1451,7 @@ class Browser: public QMainWindow, protected Ui::Browser { == _downloadProcesses.end()) return; if (_downloadProcesses[qobject_cast(sender())]) _downloadProcesses[qobject_cast(sender())] - ->setAutoRemove(true); + ->setAutoRemove(_settings.flag("CloseApps")); delete _downloadProcesses[qobject_cast(sender())]; _downloadProcesses.erase(qobject_cast(sender())); }