]> cloud.milkyroute.net Git - dolphin.git/commit
Add helper methods to tab widget for view containers
authorFelix Ernst <fe.a.ernst@gmail.com>
Fri, 26 Aug 2022 10:29:35 +0000 (12:29 +0200)
committerFelix Ernst <fe.a.ernst@gmail.com>
Tue, 11 Oct 2022 13:26:31 +0000 (15:26 +0200)
commit37a98417cd64008b63b95b80ecbedc84d487bd25
tree014f4d28ef87d57872f0f37d90a39264298cfed3
parent4d81aabd1ee78c2fca61452ef3a866cfad0c88a5
Add helper methods to tab widget for view containers

This commit introduces the private getter
DolphinTabWidget::viewContainerAt(ViewIndex)
and another private method
DolphinTabWidget::activateViewContainerAt(ViewIndex).

Both methods return nullptr if there is no valid
DolphinViewContainer at the specified ViewIndex.
src/dolphintabwidget.cpp
src/dolphintabwidget.h