workaround on a qt bug: if i call setVisible(true) on a child of an
hidden item it gets shown anyways (will get around doing a test case) svn path=/trunk/KDE/kdelibs/; revision=946139
This commit is contained in:
parent
113d703984
commit
2ebcc9f481
@ -126,7 +126,9 @@ void TabBarPrivate::updateTabWidgetMode()
|
||||
}
|
||||
|
||||
//always show the tabbar
|
||||
if (!tabWidget) {
|
||||
//FIXME: Qt BUG: calling show on a child of an hidden item it shows it anyways
|
||||
//so we avoid to call it if the parent is hidden
|
||||
if (!tabWidget && q->isVisible()) {
|
||||
q->setTabBarShown(true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user