summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kstars/kstars/imagesequence.cpp2
-rw-r--r--kstars/kstars/indistd.cpp14
-rw-r--r--kstars/kstars/indistd.h2
3 files changed, 9 insertions, 9 deletions
diff --git a/kstars/kstars/imagesequence.cpp b/kstars/kstars/imagesequence.cpp
index e464f755..a05b65ad 100644
--- a/kstars/kstars/imagesequence.cpp
+++ b/kstars/kstars/imagesequence.cpp
@@ -290,7 +290,7 @@ void imagesequence::stopSequence()
if (stdDevCCD)
{
- stdDevCCD->setqCount = 0;
+ stdDevCCD->setCount = 0;
stdDevCCD->batchMode = false;
stdDevCCD->ISOMode = false;
diff --git a/kstars/kstars/indistd.cpp b/kstars/kstars/indistd.cpp
index 274106ec..b2c9b2c6 100644
--- a/kstars/kstars/indistd.cpp
+++ b/kstars/kstars/indistd.cpp
@@ -63,7 +63,7 @@
dp = associatedDevice;
ksw = kswPtr;
initDevCounter = 0;
- setqCount = 0;
+ setCount = 0;
batchMode = false;
ISOMode = false;
@@ -158,7 +158,7 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
strncpy(tempFileStr, filename, 256);
if ( batchMode && !ISOMode)
- snprintf(filename, sizeof(filename), "%s/%s_%02d.fits", tempFileStr, seqPrefix.ascii(), setqCount);
+ snprintf(filename, sizeof(filename), "%s/%s_%02d.fits", tempFileStr, seqPrefix.ascii(), setCount);
else if (!batchMode && !Options::indiFITSDisplay())
{
strftime (ts, sizeof(ts), "%Y-%m-%dT%H:%M:%S", tp);
@@ -167,10 +167,10 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
else
{
strftime (ts, sizeof(ts), "%Y-%m-%dT%H:%M:%S", tp);
- snprintf(filename, sizeof(filename), "%s/%s_%02d_%s.fits", tempFileStr, seqPrefix.ascii(), setqCount, ts);
+ snprintf(filename, sizeof(filename), "%s/%s_%02d_%s.fits", tempFileStr, seqPrefix.ascii(), setCount, ts);
}
- setqCount++;
+ setCount++;
}
else
{
@@ -447,7 +447,7 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
seqLister->setNameFilter(TQString("%1_*.fits").arg(seqPrefix));
- setqCount = 0;
+ setCount = 0;
if (ISOMode) return;
@@ -486,8 +486,8 @@ void INDIStdDevice::handleBLOB(unsigned char *buffer, int bufferSize, TQString d
newFileIndex = strtol(t, NULL, 10);
- if (newFileIndex >= setqCount)
- setqCount = newFileIndex + 1;
+ if (newFileIndex >= setCount)
+ setCount = newFileIndex + 1;
}
delete [] (tempPrefix);
diff --git a/kstars/kstars/indistd.h b/kstars/kstars/indistd.h
index 30bd07db..a23178ab 100644
--- a/kstars/kstars/indistd.h
+++ b/kstars/kstars/indistd.h
@@ -75,7 +75,7 @@
LilXML *parser;
TQString seqPrefix;
- int setqCount;
+ int setCount;
bool batchMode;
bool ISOMode;
KDirLister *seqLister;