Remove unneeded interal class TabbedViewContainerLayout

That internal class was used to workaround the problem that
QBoxLayout::insertItem() is a protected method. Since the current codo
does not use that method any more, no need to keep and use that internal
class anymore. Just use QVboxLayout directly.
This commit is contained in:
Jekyll Wu
2012-02-20 02:43:41 +08:00
parent fea58cc6bf
commit bebb3ad895
2 changed files with 2 additions and 17 deletions

View File

@@ -483,7 +483,7 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
_tabBarLayout->addWidget(_tabBar);
_tabBarLayout->addWidget(_closeTabButton);
_layout = new TabbedViewContainerLayout;
_layout = new QVBoxLayout;
_layout->setSpacing(0);
_layout->setContentsMargins(0, 0, 0, 0);