summaryrefslogtreecommitdiff
path: root/src/SegmentMan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SegmentMan.cc')
-rw-r--r--src/SegmentMan.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/SegmentMan.cc b/src/SegmentMan.cc
index 7ad4f984..9b88585a 100644
--- a/src/SegmentMan.cc
+++ b/src/SegmentMan.cc
@@ -431,11 +431,6 @@ bool SegmentMan::fileExists() const {
return File(getFilePath()).exists();
}
-bool SegmentMan::shouldCancelDownloadForSafety() const {
- return fileExists() && !segmentFileExists() &&
- option->get(PREF_ALLOW_OVERWRITE) != V_TRUE;
-}
-
void SegmentMan::markAllPiecesDone()
{
if(bitfield) {