author | drw <drw> | 2004-04-07 23:23:04 (UTC) |
---|---|---|
committer | drw <drw> | 2004-04-07 23:23:04 (UTC) |
commit | 0a21abab4eed64d17c4b1475569194117dab709c (patch) (side-by-side diff) | |
tree | b4f7cdf929202dd18db86916906e957658b8e1e9 /noncore/settings/packagemanager/oipkg.cpp | |
parent | 52ccc71e2859ae9d738629249baeef3e3df992a2 (diff) | |
download | opie-0a21abab4eed64d17c4b1475569194117dab709c.zip opie-0a21abab4eed64d17c4b1475569194117dab709c.tar.gz opie-0a21abab4eed64d17c4b1475569194117dab709c.tar.bz2 |
Added TODO doc and a couple minor updates
Diffstat (limited to 'noncore/settings/packagemanager/oipkg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/oipkg.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp index 1dc23a4..5c79ba9 100644 --- a/noncore/settings/packagemanager/oipkg.cpp +++ b/noncore/settings/packagemanager/oipkg.cpp @@ -36,7 +36,6 @@ #include <qdir.h> #include <qfile.h> -#include <qmessagebox.h> #include <qtextstream.h> const QString IPKG_CONF = "/etc/ipkg.conf"; // Fully-qualified name of Ipkg primary configuration file @@ -82,8 +81,7 @@ OIpkg::OIpkg( Config *config, QObject *parent, const char *name ) oipkg = this; // Initialize libipkg - if ( ipkg_init( &fsignalIpkgMessage, &fIpkgResponse, &m_ipkgArgs ) ) - QMessageBox::critical( 0, tr( "OIpkg" ), tr( "Error initialing libipkg" ) ); + ipkg_init( &fsignalIpkgMessage, &fIpkgResponse, &m_ipkgArgs ); // Default ipkg run-time arguments m_ipkgArgs.noaction = false; @@ -97,8 +95,7 @@ OIpkg::~OIpkg() m_confInfo->setAutoDelete( true ); // Free up libipkg resources - if ( ipkg_deinit( &m_ipkgArgs ) ) - QMessageBox::critical( 0, tr( "OIpkg" ), tr( "Error freeing libipkg" ) ); + ipkg_deinit( &m_ipkgArgs ); } OConfItemList *OIpkg::configItems() |