summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelist.cpp
authortille <tille>2002-05-12 14:06:06 (UTC)
committer tille <tille>2002-05-12 14:06:06 (UTC)
commitf388350086510b261c496c232da7302f4ec81cc3 (patch) (side-by-side diff)
tree472aad42f650028bfd7fae66be6a19f37e2a26e0 /noncore/unsupported/oipkg/packagelist.cpp
parentc1f023c19bbee54a3a0575bd6035b133592edcfc (diff)
downloadopie-f388350086510b261c496c232da7302f4ec81cc3.zip
opie-f388350086510b261c496c232da7302f4ec81cc3.tar.gz
opie-f388350086510b261c496c232da7302f4ec81cc3.tar.bz2
fixed filename for remote files
Diffstat (limited to 'noncore/unsupported/oipkg/packagelist.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.cpp b/noncore/unsupported/oipkg/packagelist.cpp
index 8f835b7..1b572e0 100644
--- a/noncore/unsupported/oipkg/packagelist.cpp
+++ b/noncore/unsupported/oipkg/packagelist.cpp
@@ -172,15 +172,15 @@ void PackageList::readFileEntries( QString filename, QString dest )
if ( line.find(QRegExp("[\n\t ]*")) || line == "" )
{
//end of package
if ( ! packEntry.isEmpty() )
{
Package *p = new Package( packEntry, settings );
- p->setDest( dest );
if ( p )
{
+ p->setDest( dest );
insertPackage( p );
packEntry.clear();
}
}
}else{
packEntry << line;