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:
Aaron J. Seigo 2008-09-18 02:38:27 +00:00
parent 482c6a9f01
commit c5fe5cb285

View File

@ -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;
}