Ignore button release events when double clicking
One could check that the double click timer is still active.
This commit is contained in:
parent
a76ae07ee1
commit
fa351403ef
1 changed files with 0 additions and 4 deletions
|
@ -2793,10 +2793,6 @@ bool Window::processDecorationButtonPress(QMouseEvent *event, bool ignoreMenu)
|
||||||
|
|
||||||
void Window::processDecorationButtonRelease(QMouseEvent *event)
|
void Window::processDecorationButtonRelease(QMouseEvent *event)
|
||||||
{
|
{
|
||||||
if (event->isAccepted()) {
|
|
||||||
invalidateDecorationDoubleClickTimer(); // click was for the deco and shall not init a doubleclick
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event->buttons() == Qt::NoButton) {
|
if (event->buttons() == Qt::NoButton) {
|
||||||
setInteractiveMoveResizePointerButtonDown(false);
|
setInteractiveMoveResizePointerButtonDown(false);
|
||||||
stopDelayedInteractiveMoveResize();
|
stopDelayedInteractiveMoveResize();
|
||||||
|
|
Loading…
Reference in a new issue