Now this returns true

This commit is contained in:
Kevin Ottens 2013-06-27 18:36:20 +02:00
parent c36c625d9c
commit 12b2cdd19a
2 changed files with 3 additions and 2 deletions

View File

@ -432,7 +432,7 @@ QStringList ConfigLoader::groupList() const
return d->groups;
}
void ConfigLoader::usrWriteConfig()
bool ConfigLoader::usrWriteConfig()
{
if (d->saveDefaults) {
KConfigSkeletonItem::List itemList = items();
@ -441,6 +441,7 @@ void ConfigLoader::usrWriteConfig()
cg.writeEntry(itemList.at(i)->key(), "");
}
}
return true;
}
} // Plasma namespace

View File

@ -142,7 +142,7 @@ protected:
/**
* Hack used to force writing when no default exists in config file.
*/
void usrWriteConfig();
bool usrWriteConfig();
private:
friend class Service;