[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Fri Jun 5 14:01:08 CEST 2009
SVN commit 977772 by prakash:
Removing a redundant if condition.
CCMAIL: kstars-devel at kde.org
M +3 -4 observinglist.cpp
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #977771:977772
@@ -1205,10 +1205,9 @@
QString URLprefix( "http://archive.stsci.edu/cgi-bin/dss_search?v=1" );
QString URLsuffix( "&e=J2000&h=15.0&w=15.0&f=gif&c=none&fov=NONE" );
KUrl url (URLprefix + "&r=" + RAString + "&d=" + DecString + URLsuffix);
- if( !QFile::exists(KStandardDirs::locateLocal( "appdata", CurrentImage ) ) ) {
- downloadJob = KIO::copy (url, KUrl( KStandardDirs::locateLocal( "appdata", CurrentImage ) ) );
- connect (downloadJob, SIGNAL (result (KJob *)), SLOT (downloadReady (KJob *)));
- }
+ downloadJob = KIO::copy (url, KUrl( KStandardDirs::locateLocal( "appdata", CurrentImage ) ) );
+ connect (downloadJob, SIGNAL (result (KJob *)), SLOT (downloadReady (KJob *)));
+
}
void ObservingList::downloadReady (KJob *job)
More information about the Kstars-devel
mailing list