From kstars-devel Mon Aug 10 10:31:44 2009 From: Khudyakov Alexey Date: Mon, 10 Aug 2009 10:31:44 +0000 To: kstars-devel Subject: Re: [Kstars-devel] Could not install USNO NOMAD Message-Id: <200908101431.44951.alexey.skladnoy () gmail ! com> X-MARC-Message: https://marc.info/?l=kstars-devel&m=124990326931372 В сообщении от Воскресенье 09 августа 2009 18:05:58 автор Akarsh Simha написал: > Hi > > Many folks have reported this so far. Is this a bug against > KNewStuff2? Could somebody help me understand? > It looks like so. Below is code for downloading extra data. I think only one who can show flashing windows and complain about inability to install is KNS::Engine::download() call. > void KStars::slotDownload() { > KNS::Entry::List entries = KNS::Engine::download(); > > foreach ( KNS::Entry *e, entries ) { > foreach ( const QString& fname, e->installedFiles() ) { > // Catalogs are added here > } > } > > // we need to delete the entry* items in the returned list > qDeleteAll(entries); > } I suppose KNewStuff developers didn't tested it with >1GB size downloads. _______________________________________________ Kstars-devel mailing list Kstars-devel@kde.org https://mail.kde.org/mailman/listinfo/kstars-devel