use the id() to build the config off of

this falls back to objectName but uses the pluginName first. more sensible.
This commit is contained in:
Aaron Seigo 2011-04-30 09:32:48 +02:00
parent a6fa660809
commit b35a4dd02c

View File

@ -78,7 +78,7 @@ AbstractRunner::~AbstractRunner()
KConfigGroup AbstractRunner::config() const
{
QString group = objectName();
QString group = id();
if (group.isEmpty()) {
group = "UnnamedRunner";
}