Fix TabBoxHandler::containsPos for desktop switching box
This commit is contained in:
parent
58725981eb
commit
2e69668f99
1 changed files with 2 additions and 0 deletions
|
@ -429,6 +429,8 @@ bool TabBoxHandler::containsPos(const QPoint& pos) const
|
||||||
QWidget *w = NULL;
|
QWidget *w = NULL;
|
||||||
if (d->m_declarativeView && d->m_declarativeView->isVisible()) {
|
if (d->m_declarativeView && d->m_declarativeView->isVisible()) {
|
||||||
w = d->m_declarativeView;
|
w = d->m_declarativeView;
|
||||||
|
} else if (d->m_declarativeDesktopView && d->m_declarativeDesktopView->isVisible()) {
|
||||||
|
w = d->m_declarativeDesktopView;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue