-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index 4a8a389..d29036b 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp @@ -182,3 +182,4 @@ QStringList* PmIpkg::getList( QString packFileName, QString d ) QString packFileDir = dest+"/"+statusDir+"/info/"+packFileName+".list"; - QFile f( packFileName ); + QFile f( packFileDir ); + qDebug("Try to open %s", packFileDir.latin1()); if ( ! f.open(IO_ReadOnly) ) @@ -189,2 +190,3 @@ QStringList* PmIpkg::getList( QString packFileName, QString d ) f.setName( packFileDir ); + qDebug("Try to open %s", packFileDir.latin1()); if ( ! f.open(IO_ReadOnly) ) @@ -193,2 +195,3 @@ QStringList* PmIpkg::getList( QString packFileName, QString d ) out( "Could not open:\n"+packFileDir+"\n Panik!" ); + return (QStringList*)0; } |