[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Sun Jun 7 21:13:01 CEST 2009
SVN commit 978647 by prakash:
Saving the DSS images with meaningful file names.
CCMAIL: kstars-devel at kde.org
M +1 -1 observinglist.cpp
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #978646:978647
@@ -476,7 +476,7 @@
int dm = abs( o->dec0()->arcmin() );
int ds = abs( o->dec0()->arcsec() );
DecString = DecString.sprintf( "%c%02d+%02d+%02d", decsgn, dd, dm, ds );
- CurrentImage = RAString + DecString;
+ CurrentImage ="dss_" + o->name().remove(' ') ;
if( QFile::exists( KStandardDirs::locateLocal( "appdata", CurrentImage ) ) )//If the image is present, show it!
ui->ImagePreview->showPreview( KUrl( KStandardDirs::locateLocal( "appdata", CurrentImage ) ));
ui->GetImage->setEnabled( true );//Enable anyway for updating the image
More information about the Kstars-devel
mailing list