mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[ToolButton] Emit doubleClicked only on left mouse double click
This commit is contained in:
parent
fecb681d24
commit
cf5abaddb0
|
@ -154,7 +154,9 @@ void ToolButton::mouseDoubleClickEvent(QMouseEvent* e)
|
||||||
{
|
{
|
||||||
QToolButton::mouseDoubleClickEvent(e);
|
QToolButton::mouseDoubleClickEvent(e);
|
||||||
|
|
||||||
|
if (e->button() == Qt::LeftButton) {
|
||||||
emit doubleClicked();
|
emit doubleClicked();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ToolButton::showMenu()
|
void ToolButton::showMenu()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user