From c02fbe89c7ecb65b39698a014b506be3fc77b853 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sun, 16 Feb 2020 15:49:35 +0100 Subject: Allow not refreshing downloads when setting their folder, for example during init. --- src/downloadmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/downloadmanager.h') diff --git a/src/downloadmanager.h b/src/downloadmanager.h index 4fc61cad..d6342f22 100644 --- a/src/downloadmanager.h +++ b/src/downloadmanager.h @@ -158,7 +158,7 @@ public: * * @param outputDirectory the new output directory **/ - void setOutputDirectory(const QString &outputDirectory); + void setOutputDirectory(const QString &outputDirectory, const bool refresh = true); /** * @brief disables feedback from the downlods fileSystemWhatcher untill disableDownloadsWatcherEnd() is called -- cgit v1.3.1