-rw-r--r-- | noncore/settings/aqpkg/server.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/settings/aqpkg/server.cpp b/noncore/settings/aqpkg/server.cpp index 2cb0533..fc5ed12 100644 --- a/noncore/settings/aqpkg/server.cpp +++ b/noncore/settings/aqpkg/server.cpp @@ -91,32 +91,32 @@ void Server :: readStatusFile( vector<Destination> &destList ) readPackageFile( 0, false, true ); } } void Server :: readLocalIpks( Server *local ) { cleanUp(); #ifdef QWS // First, get any local IPKGs in the documents area // Only applicable to Qtopie/Opie - DocLnkSet files; - Global::findDocuments( &files, "application/ipkg" ); + DocLnkSet files; + Global::findDocuments( &files, "application/ipkg" ); - // Now add the items to the list - QListIterator<DocLnk> it( files.children() ); + // Now add the items to the list + QListIterator<DocLnk> it( files.children() ); - for ( ; it.current() ; ++it ) - { + for ( ; it.current() ; ++it ) + { // OK, we have a local IPK file, I think the standard naming conventions // for these are packagename_version_arm.ipk QString file = (*it)->file(); // Changed to display the filename (excluding the path) QString packageName = Utils::getFilenameFromIpkFilename( file ); QString ver = Utils::getPackageVersionFromIpkFilename( file ); packageList.push_back( Package( packageName ) ); packageList.back().setVersion( ver ); packageList.back().setFilename( file ); packageList.back().setPackageStoredLocally( true ); |