summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-30 20:35:29 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-30 20:35:29 (GMT)
commit354950761b1aeb733f43510a6ead46894b272cce (patch)
tree7d6d605251c751d96e64f8d9b0bad865f6858822
parent68711ba2a27f5a8d5f714e691e8d9f3c2cb80396 (diff)
Refactor update
-rw-r--r--kstars/ekos/align/align.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/ekos/align/align.cpp b/kstars/ekos/align/align.cpp
index 30f404e..dc6430f 100644
--- a/kstars/ekos/align/align.cpp
+++ b/kstars/ekos/align/align.cpp
@@ -685,7 +685,7 @@ void Align::newFITS(IBLOB *bp)
targetChip->getFrame(&x,&y,&w,&h);
targetChip->getBinning(&binx, &biny);
- FITSView *currentImage = targetChip->getImage(FITS_ALIGN);
+ FITSView *currentImage = targetChip->getImageView(FITS_ALIGN);
FITSData *darkData = NULL;
uint16_t offsetX = x / binx;
@@ -713,7 +713,7 @@ void Align::setCaptureComplete()
DarkLibrary::Instance()->disconnect(this);
ISD::CCDChip *targetChip = currentCCD->getChip(useGuideHead ? ISD::CCDChip::GUIDE_CCD : ISD::CCDChip::PRIMARY_CCD);
- FITSView *currentImage = targetChip->getImage(FITS_ALIGN);
+ FITSView *currentImage = targetChip->getImageView(FITS_ALIGN);
FITSData *currentData = currentImage->getImageData();
QString filename = currentData->getFilename();