[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kstars/bleeding] kstars/ekos: Refactor changes
From: Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date: 2016-09-30 20:38:34
Message-ID: E1bq4Zm-00030p-Nk () code ! kde ! org
[Download RAW message or body]
Git commit b291c293dd126aa91aeb032f4c95b0353e46adb6 by Jasem Mutlaq.
Committed on 30/09/2016 at 10:19.
Pushed by mutlaqja into branch 'bleeding'.
Refactor changes
M +1 -1 kstars/ekos/auxiliary/darklibrary.cpp
M +6 -6 kstars/ekos/focus/focus.cpp
http://commits.kde.org/kstars/b291c293dd126aa91aeb032f4c95b0353e46adb6
diff --git a/kstars/ekos/auxiliary/darklibrary.cpp \
b/kstars/ekos/auxiliary/darklibrary.cpp index b068cdb..6aa938e 100644
--- a/kstars/ekos/auxiliary/darklibrary.cpp
+++ b/kstars/ekos/auxiliary/darklibrary.cpp
@@ -256,7 +256,7 @@ void DarkLibrary::newFITS(IBLOB *bp)
disconnect(subtractParams.targetChip->getCCD(), SIGNAL(BLOBUpdated(IBLOB*)), \
this, SLOT(newFITS(IBLOB*)));
- FITSView *calibrationView = subtractParams.targetChip->getImage(FITS_CALIBRATE);
+ FITSView *calibrationView = \
subtractParams.targetChip->getImageView(FITS_CALIBRATE);
emit newLog(i18n("Dark frame received."));
diff --git a/kstars/ekos/focus/focus.cpp b/kstars/ekos/focus/focus.cpp
index 5086c4a..69b63a2 100644
--- a/kstars/ekos/focus/focus.cpp
+++ b/kstars/ekos/focus/focus.cpp
@@ -273,7 +273,7 @@ void Focus::resetFrame()
starCenter = QVector3D();
subFramed = false;
- FITSView *targetImage = targetChip->getImage(FITS_FOCUS);
+ FITSView *targetImage = targetChip->getImageView(FITS_FOCUS);
if (targetImage)
targetImage->setTrackingBox(QRect());
}
@@ -758,7 +758,7 @@ void Focus::abort()
//resetFrame();
- FITSView *targetImage = targetChip->getImage(FITS_FOCUS);
+ FITSView *targetImage = targetChip->getImageView(FITS_FOCUS);
if (targetImage)
targetImage->updateMode(FITS_FOCUS);
@@ -953,7 +953,7 @@ void Focus::newFITS(IBLOB *bp)
if (darkFrameCheck->isChecked())
{
- FITSView *currentImage = targetChip->getImage(FITS_FOCUS);
+ FITSView *currentImage = targetChip->getImageView(FITS_FOCUS);
FITSData *darkData = NULL;
QVariantMap settings = frameSettings[targetChip];
uint16_t offsetX = settings["x"].toInt() / settings["binx"].toInt();
@@ -985,7 +985,7 @@ void Focus::setCaptureComplete()
// JM 2016-09-28: Disable setting back to FITS_NORMAL as it might be causing \
issues. Each module should set capture module separately. \
//targetChip->setCaptureMode(FITS_NORMAL);
- FITSView *targetImage = targetChip->getImage(FITS_FOCUS);
+ FITSView *targetImage = targetChip->getImageView(FITS_FOCUS);
if (targetImage == NULL)
{
@@ -2056,7 +2056,7 @@ void Focus::updateBoxSize(int value)
if (targetChip == NULL)
return;
- FITSView *targetImage = targetChip->getImage(FITS_FOCUS);
+ FITSView *targetImage = targetChip->getImageView(FITS_FOCUS);
if (targetImage == NULL)
return;
@@ -2088,7 +2088,7 @@ void Focus::focusStarSelected(int x, int y)
int offset = focusBoxSize->value()/subBinX;
- FITSView *targetImage = targetChip->getImage(FITS_FOCUS);
+ FITSView *targetImage = targetChip->getImageView(FITS_FOCUS);
//targetImage->updateMode(FITS_FOCUS);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic