Ensure icon is added to layout.
BUG: 268104 REVIEW: 101148
This commit is contained in:
parent
73e5d59876
commit
00714cc198
@ -366,6 +366,10 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
}
|
||||
//Applet on popup
|
||||
} else {
|
||||
if (icon && lay) {
|
||||
lay->addItem(icon);
|
||||
}
|
||||
|
||||
//kDebug() << "about to switch to a popup";
|
||||
|
||||
//there was already a dialog? don't make the switch again
|
||||
@ -426,10 +430,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
QObject::connect(dialog, SIGNAL(dialogResized()), q, SLOT(dialogSizeChanged()));
|
||||
QObject::connect(dialog, SIGNAL(dialogVisible(bool)), q, SLOT(dialogStatusChanged(bool)));
|
||||
}
|
||||
|
||||
if (icon && lay) {
|
||||
lay->addItem(icon);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user