diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-07-17 13:32:53 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-07-17 13:32:53 +0200 |
| commit | 75478f68a12c89af790ba2aae127d4834c6d44a5 (patch) | |
| tree | b1324288804e104f68d6067da167e929de89fac5 /src/downloadmanager.h | |
| parent | 5a0b8b431c3ffd5de2f4359492854310da32405e (diff) | |
Avoid asking users if they are sure they want to close of all downlaods are paused.
Diffstat (limited to 'src/downloadmanager.h')
| -rw-r--r-- | src/downloadmanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h index 514402ee..136ecf2a 100644 --- a/src/downloadmanager.h +++ b/src/downloadmanager.h @@ -139,6 +139,13 @@ public: bool downloadsInProgress();
/**
+ * @brief determine if a download is currently in progress, does not count paused ones.
+ *
+ * @return true if there is currently a download in progress (that is not paused already).
+ **/
+ bool downloadsInProgressNoPause();
+
+ /**
* @brief set the output directory to write to
*
* @param outputDirectory the new output directory
|
