mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
libs: do not setup the clock applet as passive popup
two reasons for that - one is that no other applet does that (e.g. battery and device applets dissapear once focus is lost) and second being that passive popups are documented as non-focus stealing applets but the calendar widget accepts key and mouse events (for various reasons) thus stealing the focus to process key and mouse events is abosolutely ok also the minium and preferred size are set by Plasma::Calendar Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
850c98cc3d
commit
d7a2762955
1 changed files with 0 additions and 2 deletions
|
@ -126,7 +126,6 @@ public:
|
|||
if (!calendarWidget) {
|
||||
calendarWidget = new Plasma::Calendar();
|
||||
calendarWidget->setAutomaticUpdateEnabled(false);
|
||||
calendarWidget->setMinimumSize(QSize(230, 220));
|
||||
}
|
||||
} else {
|
||||
delete calendarWidget;
|
||||
|
@ -163,7 +162,6 @@ ClockApplet::ClockApplet(QObject *parent, const QVariantList &args)
|
|||
d(new Private(this))
|
||||
{
|
||||
setPopupIcon(QIcon());
|
||||
setPassivePopup(true);
|
||||
}
|
||||
|
||||
ClockApplet::~ClockApplet()
|
||||
|
|
Loading…
Add table
Reference in a new issue