mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
plasma: do not check if the current "requires configuration" state matches from Plasma::Applet::setConfigurationRequired()
because the message overlay is used for both (error) messages and to show configuration button (with optional message) and the overlay may have to be recreated to override the one previously setup by Plasma::Applet::showMessage() (e.g. when an applet is created, message is shown and then a configuration overlay but with the internal "requries configuration" state not changing) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c3a344c4af
commit
da2cb4b848
1 changed files with 0 additions and 4 deletions
|
@ -991,10 +991,6 @@ bool Applet::configurationRequired() const
|
|||
|
||||
void Applet::setConfigurationRequired(bool needsConfig, const QString &reason)
|
||||
{
|
||||
if (d->needsConfig == needsConfig) {
|
||||
return;
|
||||
}
|
||||
|
||||
d->needsConfig = needsConfig;
|
||||
|
||||
if (!needsConfig) {
|
||||
|
|
Loading…
Add table
Reference in a new issue