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, 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 @@ | |||
31 | 31 | ||
32 | #include "oipkg.h" | 32 | #include "oipkg.h" |
33 | 33 | ||
34 | #include <stdlib.h> | ||
35 | #include <string.h> | ||
36 | |||
37 | #include <qdir.h> | 34 | #include <qdir.h> |
38 | #include <qfile.h> | 35 | #include <qfile.h> |
39 | #include <qtextstream.h> | 36 | #include <qtextstream.h> |
40 | 37 | ||
38 | #include <stdlib.h> | ||
39 | |||
41 | const QString IPKG_CONF = "/etc/ipkg.conf"; // Fully-qualified name of Ipkg primary configuration file | 40 | const QString IPKG_CONF = "/etc/ipkg.conf"; // Fully-qualified name of Ipkg primary configuration file |
42 | const QString IPKG_CONF_DIR = "/etc/ipkg"; // Directory of secondary Ipkg configuration files | 41 | const QString IPKG_CONF_DIR = "/etc/ipkg"; // Directory of secondary Ipkg configuration files |
43 | const QString IPKG_PKG_PATH = "/usr/lib/ipkg/lists"; // Directory containing server package lists | 42 | const QString IPKG_PKG_PATH = "/usr/lib/ipkg/lists"; // Directory containing server package lists |
@@ -529,7 +528,7 @@ void OIpkg::loadConfiguration() | |||
529 | bool active = !line.startsWith( "#" ); | 528 | bool active = !line.startsWith( "#" ); |
530 | 529 | ||
531 | // Add to list | 530 | // Add to list |
532 | m_confInfo->append( new OConfItem( absFile, type, name, value, active ) ); | 531 | m_confInfo->append( new OConfItem( type, name, value, active ) ); |
533 | } | 532 | } |
534 | } | 533 | } |
535 | } | 534 | } |