Diffstat (limited to 'noncore/unsupported/oipkg/pksettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pksettings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/pksettings.cpp b/noncore/unsupported/oipkg/pksettings.cpp index 09975b0..59d5a3e 100644 --- a/noncore/unsupported/oipkg/pksettings.cpp +++ b/noncore/unsupported/oipkg/pksettings.cpp | |||
@@ -238,12 +238,13 @@ void PackageManagerSettings::writeIpkgConfig(const QString& conffile) | |||
238 | 238 | ||
239 | 239 | ||
240 | void PackageManagerSettings::readInstallationSettings() | 240 | void PackageManagerSettings::readInstallationSettings() |
241 | { | 241 | { |
242 | Config cfg( "oipkg", Config::User ); | 242 | Config cfg( "oipkg", Config::User ); |
243 | cfg.setGroup( "Settings" ); | 243 | cfg.setGroup( "Settings" ); |
244 | |||
244 | installationSettingsCount = cfg.readNumEntry( "count", -1 ); | 245 | installationSettingsCount = cfg.readNumEntry( "count", -1 ); |
245 | currentSetting = cfg.readNumEntry( "current", 0 );// o should be -1 | 246 | currentSetting = cfg.readNumEntry( "current", 0 );// o should be -1 |
246 | 247 | ||
247 | for (int i = 0; i < installationSettingsCount; i++) | 248 | for (int i = 0; i < installationSettingsCount; i++) |
248 | { | 249 | { |
249 | cfg.setGroup( "Setting_" + QString::number(i) ); | 250 | cfg.setGroup( "Setting_" + QString::number(i) ); |