delay popup showin in the event queue after activation
fixes focus issues on popups BUG:242173 svn path=/trunk/KDE/kdelibs/; revision=1140471
This commit is contained in:
parent
9a98a3351b
commit
4d593f353c
@ -422,7 +422,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
void PopupAppletPrivate::appletActivated()
|
||||
{
|
||||
q->setStatus(Plasma::NeedsAttentionStatus);
|
||||
q->showPopup();
|
||||
QTimer::singleShot(0, q, SLOT(showPopup()));
|
||||
}
|
||||
|
||||
QSizeF PopupApplet::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
|
||||
|
Loading…
Reference in New Issue
Block a user