check for configLoader before accessing it

svn path=/trunk/KDE/kdelibs/; revision=1182706
This commit is contained in:
Marco Martin 2010-10-05 12:57:49 +00:00
parent efb8c987ee
commit 3c86640b76

View File

@ -2046,7 +2046,7 @@ void AppletPrivate::updateShortcuts()
void Applet::configChanged()
{
if (d->script) {
if (d->script && d->configLoader) {
d->configLoader->readConfig();
d->script->configChanged();
}