mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
plasma: disable mouse events for the icon of the lockout applet dialog
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
971af2f5ea
commit
79accd51c6
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ LockoutDialog::LockoutDialog(QWidget *parent)
|
|||
m_iconwidget->setPreferredIconSize(QSizeF(smalliconsize, smalliconsize));
|
||||
// disable hover effect
|
||||
m_iconwidget->setAcceptHoverEvents(false);
|
||||
// disable mouse click and such
|
||||
m_iconwidget->setAcceptedMouseButtons(Qt::NoButton);
|
||||
m_layout->addItem(m_iconwidget, 0, 0, 1, 2);
|
||||
m_separator = new Plasma::Separator(m_widget);
|
||||
m_layout->addItem(m_separator, 1, 0, 1, 2);
|
||||
|
|
Loading…
Add table
Reference in a new issue