automatically create a new extender if we don't have one and an extender is requested
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862085
This commit is contained in:
parent
482c6a9f01
commit
c5fe5cb285
@ -504,6 +504,10 @@ void Applet::initExtenderItem(ExtenderItem *item)
|
||||
|
||||
Extender *Applet::extender() const
|
||||
{
|
||||
if (!d->extender) {
|
||||
new Extender(const_cast<Applet*>(this));
|
||||
}
|
||||
|
||||
return d->extender;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user