move the default value of setHasConfigurationInterface to the ctor now that i have time to comb through all our widgets

svn path=/trunk/KDE/kdelibs/; revision=913792
This commit is contained in:
Aaron J. Seigo 2009-01-19 21:24:55 +00:00
parent e2e814e9bf
commit e5d42d17b7

View File

@ -1028,11 +1028,8 @@ void Applet::flushPendingConstraintsEvents()
if (d->modificationsTimerId > 0) {
killTimer(d->modificationsTimerId);
}
d->modificationsTimerId = 0;
if (!isContainment()) {
setHasConfigurationInterface(true);
}
d->modificationsTimerId = 0;
}
}
@ -1843,7 +1840,7 @@ AppletPrivate::AppletPrivate(KService::Ptr service, int uniqueID, Applet *applet
shortcutEditor(0),
constraintsTimerId(0),
modificationsTimerId(-1),
hasConfigurationInterface(false),
hasConfigurationInterface(true),
failed(false),
isContainment(false),
transient(false),