summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-29 18:58:15 (UTC)
committer kergoth <kergoth>2002-11-29 18:58:15 (UTC)
commit17906c7fefc001c74af2141610c23c28c28a4e52 (patch) (unidiff)
tree527fe02d74b54debefd4f66eb5989e14a6d2d1ba
parentd85d0022270da220f219764593c98dc8f28439b7 (diff)
downloadopie-17906c7fefc001c74af2141610c23c28c28a4e52.zip
opie-17906c7fefc001c74af2141610c23c28c28a4e52.tar.gz
opie-17906c7fefc001c74af2141610c23c28c28a4e52.tar.bz2
Compile fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/ipkg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/ipkg.cpp b/noncore/settings/aqpkg/ipkg.cpp
index 1efe030..407abe9 100644
--- a/noncore/settings/aqpkg/ipkg.cpp
+++ b/noncore/settings/aqpkg/ipkg.cpp
@@ -409,25 +409,25 @@ QStringList* Ipkg :: getList( const QString &packageFilename, const QString &des
409 cout << "Try to open " << packageFileDir << endl; 409 cout << "Try to open " << packageFileDir << endl;
410 if ( !f.open(IO_ReadOnly) ) 410 if ( !f.open(IO_ReadOnly) )
411 { 411 {
412 // Couldn't open from dest, try from / 412 // Couldn't open from dest, try from /
413 cout << "Could not open:" << packageFileDir << endl; 413 cout << "Could not open:" << packageFileDir << endl;
414 f.close(); 414 f.close();
415 415
416 packageFileDir = "/usr/lib/ipkg/info/"+packageFilename+".list"; 416 packageFileDir = "/usr/lib/ipkg/info/"+packageFilename+".list";
417 f.setName( packageFileDir ); 417 f.setName( packageFileDir );
418 qDebug( "Try to open %s", packageFileDir.latin1() ); 418 qDebug( "Try to open %s", packageFileDir.latin1() );
419 if ( ! f.open(IO_ReadOnly) ) 419 if ( ! f.open(IO_ReadOnly) )
420 { 420 {
421 qDebug( "Could not open: %s", packageFileDir ); 421 qDebug( "Could not open: %s", packageFileDir.latin1() );
422 emit outputText( QString( "Could not open :" ) + packageFileDir ); 422 emit outputText( QString( "Could not open :" ) + packageFileDir );
423 return (QStringList*)0; 423 return (QStringList*)0;
424 } 424 }
425 } 425 }
426 QStringList *fileList = new QStringList(); 426 QStringList *fileList = new QStringList();
427 QTextStream t( &f ); 427 QTextStream t( &f );
428 while ( !t.eof() ) 428 while ( !t.eof() )
429 *fileList += t.readLine(); 429 *fileList += t.readLine();
430 430
431 f.close(); 431 f.close();
432 return fileList; 432 return fileList;
433} 433}