Move TabBar::detachTab() to Frame
As the code doesn't have anything specific to QTabBar. Means QtQuick can reuse it without needing a TabBarQuick. tst_crash now passes for QtQuick too
This commit is contained in:
@@ -102,11 +102,6 @@ QSize FrameWidget::maxSizeHint() const
|
||||
return waste + biggestDockWidgetMaxSize();
|
||||
}
|
||||
|
||||
void FrameWidget::detachTab_impl(DockWidgetBase *dw)
|
||||
{
|
||||
m_tabWidget->detachTab(dw);
|
||||
}
|
||||
|
||||
int FrameWidget::indexOfDockWidget_impl(DockWidgetBase *dw)
|
||||
{
|
||||
return m_tabWidget->indexOfDockWidget(dw);
|
||||
|
||||
Reference in New Issue
Block a user