summaryrefslogtreecommitdiff
path: root/noncore/settings/packagemanager/oipkg.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/packagemanager/oipkg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/oipkg.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp
index 696a64a..87a30bb 100644
--- a/noncore/settings/packagemanager/oipkg.cpp
+++ b/noncore/settings/packagemanager/oipkg.cpp
@@ -31,13 +31,12 @@
#include "oipkg.h"
-#include <stdlib.h>
-#include <string.h>
-
#include <qdir.h>
#include <qfile.h>
#include <qtextstream.h>
+#include <stdlib.h>
+
const QString IPKG_CONF = "/etc/ipkg.conf"; // Fully-qualified name of Ipkg primary configuration file
const QString IPKG_CONF_DIR = "/etc/ipkg"; // Directory of secondary Ipkg configuration files
const QString IPKG_PKG_PATH = "/usr/lib/ipkg/lists"; // Directory containing server package lists
@@ -529,7 +528,7 @@ void OIpkg::loadConfiguration()
bool active = !line.startsWith( "#" );
// Add to list
- m_confInfo->append( new OConfItem( absFile, type, name, value, active ) );
+ m_confInfo->append( new OConfItem( type, name, value, active ) );
}
}
}