summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-17 15:43:00 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-17 15:43:00 (GMT)
commit5f48904575910e69cd156cc14479b8f816bf5851 (patch)
tree129ce779942993e705f9255773e045b9e3042974
parent0dc41aa88888ca8d28edcd50ed287a627c47fb80 (diff)
Nope do not remove the file at all, let image viewer handle it
-rw-r--r--kstars/indi/indiccd.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kstars/indi/indiccd.cpp b/kstars/indi/indiccd.cpp
index 530e734..e7dc049 100644
--- a/kstars/indi/indiccd.cpp
+++ b/kstars/indi/indiccd.cpp
@@ -1224,10 +1224,6 @@ void CCD::processBLOB(IBLOB* bp)
imageViewer = new ImageViewer(getDeviceName(), KStars::Instance());
imageViewer->loadImage(filename);
-
- // Remove file from disk if it is preview or not a regular frame (focus, guide..etc)
- if (targetChip->isBatchMode() == false || targetChip->getCaptureMode() != FITS_NORMAL)
- QFile::remove(filename);
}
// Unless we have cfitsio, we're done.
#ifdef HAVE_CFITSIO