minor: Make indexOfDockWidget() take a const dock widget

So it can be called from const places
This commit is contained in:
Sergio Martins
2021-01-29 18:17:16 +00:00
parent 1eaac74fb0
commit 78c2cdddc4
11 changed files with 16 additions and 16 deletions

View File

@@ -101,7 +101,7 @@ QSize FrameWidget::maxSizeHint() const
return waste + biggestDockWidgetMaxSize();
}
int FrameWidget::indexOfDockWidget_impl(DockWidgetBase *dw)
int FrameWidget::indexOfDockWidget_impl(const DockWidgetBase *dw)
{
return m_tabWidget->indexOfDockWidget(dw);
}