Now this returns true
This commit is contained in:
parent
c36c625d9c
commit
12b2cdd19a
@ -432,7 +432,7 @@ QStringList ConfigLoader::groupList() const
|
|||||||
return d->groups;
|
return d->groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigLoader::usrWriteConfig()
|
bool ConfigLoader::usrWriteConfig()
|
||||||
{
|
{
|
||||||
if (d->saveDefaults) {
|
if (d->saveDefaults) {
|
||||||
KConfigSkeletonItem::List itemList = items();
|
KConfigSkeletonItem::List itemList = items();
|
||||||
@ -441,6 +441,7 @@ void ConfigLoader::usrWriteConfig()
|
|||||||
cg.writeEntry(itemList.at(i)->key(), "");
|
cg.writeEntry(itemList.at(i)->key(), "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // Plasma namespace
|
} // Plasma namespace
|
||||||
|
@ -142,7 +142,7 @@ protected:
|
|||||||
/**
|
/**
|
||||||
* Hack used to force writing when no default exists in config file.
|
* Hack used to force writing when no default exists in config file.
|
||||||
*/
|
*/
|
||||||
void usrWriteConfig();
|
bool usrWriteConfig();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class Service;
|
friend class Service;
|
||||||
|
Loading…
Reference in New Issue
Block a user