summaryrefslogtreecommitdiff
path: root/libopie
Side-by-side diff
Diffstat (limited to 'libopie') (more/less context) (show whitespace changes)
-rw-r--r--libopie/big-screen/osplitter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie/big-screen/osplitter.cpp b/libopie/big-screen/osplitter.cpp
index 47f856d..b09bc94 100644
--- a/libopie/big-screen/osplitter.cpp
+++ b/libopie/big-screen/osplitter.cpp
@@ -401,8 +401,10 @@ void OSplitter::removeFromTab( QWidget* wid ) {
*/
void OSplitter::changeTab() {
/* if we're the owner of the tab widget */
if (m_tabWidget ) {
+ raise();
+ show();
m_tabWidget->setGeometry( frameRect() );
return;
}
@@ -413,8 +415,9 @@ void OSplitter::changeTab() {
*
*/
OTabWidget *tab;
if ( m_parentTab ) {
+ hide();
tab = m_parentTab;
/* expensive but needed cause we're called from setTabWidget and resizeEvent*/
if (!m_container.isEmpty() ) {
ContainerList::Iterator it = m_container.begin();
@@ -544,13 +547,11 @@ void OSplitter::setTabWidget( OTabWidget* wid) {
else
changeVBox();
/* our own crap is added and children from change* */
- if (m_parentTab ) {
delete tab;
delete box;
}
-}
#if 0
void OSplitter::reparentAll() {