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:
parent
a6fa660809
commit
b35a4dd02c
|
@ -78,7 +78,7 @@ AbstractRunner::~AbstractRunner()
|
||||||
|
|
||||||
KConfigGroup AbstractRunner::config() const
|
KConfigGroup AbstractRunner::config() const
|
||||||
{
|
{
|
||||||
QString group = objectName();
|
QString group = id();
|
||||||
if (group.isEmpty()) {
|
if (group.isEmpty()) {
|
||||||
group = "UnnamedRunner";
|
group = "UnnamedRunner";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user