summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2014-02-16 14:33:44 -0600
committerDarrell Anderson <[email protected]>2014-02-16 14:33:44 -0600
commit34bc7e9b1af094bcd33c3ba42915f9351e7ef313 (patch)
treef82265bdc3f61c488a94115f0b51bae799d28f2a
parent2c8ee7a8b4121c6c2dd4fbb66ed63b3cb4e217c2 (diff)
downloadtdeedu-34bc7e9b1af094bcd33c3ba42915f9351e7ef313.tar.gz
tdeedu-34bc7e9b1af094bcd33c3ba42915f9351e7ef313.zip
Fix unintended renaming
-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;