qtquick: Uncomment another test regarding tab widget

This commit is contained in:
Sergio Martins
2020-12-24 11:43:13 +00:00
parent 18283c4d1a
commit 012ed4cf1d
3 changed files with 31 additions and 21 deletions

View File

@@ -92,12 +92,6 @@ void TabBarWidget::mousePressEvent(QMouseEvent *e)
{
onMousePress(e->pos());
QTabBar::mousePressEvent(e);
if ((Config::self().flags() & Config::Flag_TitleBarIsFocusable) && !frame()->isFocused()) {
// User clicked on a tab which was already focused
// A tab changing also counts as a change of scope
frame()->FocusScope::focus(Qt::MouseFocusReason);
}
}
void TabBarWidget::mouseMoveEvent(QMouseEvent *e)