[Kstars-devel] blanks in image sequence output file names

slehti slehti at mail.cern.ch
Tue Aug 9 20:35:42 UTC 2011


Dear KStars developers,
I find the blanks in the filenames coming from the image sequence 
quite annoying. Is it possible to have them removed? The change 
in the code would be small, change "2" to "int(log10(seqCount))":
indistd.cpp line 151
filename += seqPrefix + (seqPrefix.isEmpty() ? "" : "_") + 
QString("%1.fits").arg(seqCount , 2);

indistd.cpp line 153
filename += seqPrefix + (seqPrefix.isEmpty() ? "" : "_") + 
QString("%1_%2.fits").arg(seqCount, 2).arg(ts);

-->

indistd.cpp line 151
filename += seqPrefix + (seqPrefix.isEmpty() ? "" : "_") +
QString("%1.fits").arg(seqCount , int(log10(seqCount)));

indistd.cpp line 153
filename += seqPrefix + (seqPrefix.isEmpty() ? "" : "_") +
QString("%1_%2.fits").arg(seqCount, int(log10(seqCount))).arg(ts);

Cheers,
Sami


More information about the Kstars-devel mailing list