be paranoid about it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867096
This commit is contained in:
parent
3365bc1d94
commit
165f387e45
@ -697,8 +697,10 @@ void Applet::setConfigurationRequired(bool needsConfig, const QString &reason)
|
||||
}
|
||||
|
||||
if (d->needsConfigOverlay) {
|
||||
delete d->needsConfigOverlay;
|
||||
QGraphicsWidget *w = d->needsConfigOverlay;
|
||||
d->needsConfigOverlay = 0;
|
||||
w->hide();
|
||||
w->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -735,6 +737,7 @@ void Applet::setConfigurationRequired(bool needsConfig, const QString &reason)
|
||||
}
|
||||
|
||||
PushButton *configWidget = new PushButton(d->needsConfigOverlay);
|
||||
configWidget = new PushButton(d->needsConfigOverlay);
|
||||
configWidget->setText(i18n("Configure..."));
|
||||
connect(configWidget, SIGNAL(clicked()), this, SLOT(showConfigurationInterface()));
|
||||
configLayout->addItem(configWidget, row, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user