use the bool that's passed in :P

svn path=/trunk/KDE/kdelibs/; revision=902764
This commit is contained in:
Chani Armitage 2008-12-29 04:45:05 +00:00
parent acc16d69ab
commit bd67989540

View File

@ -95,9 +95,8 @@ QPainterPath AppletScript::shape() const
void AppletScript::setHasConfigurationInterface(bool hasInterface)
{
Q_UNUSED(hasInterface)
if (applet()) {
applet()->setHasConfigurationInterface(true);
applet()->setHasConfigurationInterface(hasInterface);
}
}