From 0a21abab4eed64d17c4b1475569194117dab709c Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 07 Apr 2004 23:23:04 +0000 Subject: Added TODO doc and a couple minor updates --- (limited to 'noncore/settings/packagemanager/oipkg.cpp') 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 #include -#include #include 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() -- cgit v0.9.0.2