summaryrefslogtreecommitdiff
path: root/libopie/big-screen/osplitter.cpp
authorzecke <zecke>2003-09-04 17:04:06 (UTC)
committer zecke <zecke>2003-09-04 17:04:06 (UTC)
commit302e9b70ecb247977decf97269807abe5eccbdd7 (patch) (side-by-side diff)
tree59bb2fe59f0ced82acd0d3529af16c0e0d516772 /libopie/big-screen/osplitter.cpp
parentd11827ca5879b21488c189fb09f32ecf635644ae (diff)
downloadopie-302e9b70ecb247977decf97269807abe5eccbdd7.zip
opie-302e9b70ecb247977decf97269807abe5eccbdd7.tar.gz
opie-302e9b70ecb247977decf97269807abe5eccbdd7.tar.bz2
Rely on QFRame for the sizeHint
Diffstat (limited to 'libopie/big-screen/osplitter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/big-screen/osplitter.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/libopie/big-screen/osplitter.cpp b/libopie/big-screen/osplitter.cpp
index b09bc94..0c9ed6c 100644
--- a/libopie/big-screen/osplitter.cpp
+++ b/libopie/big-screen/osplitter.cpp
@@ -305,10 +305,10 @@ QWidget* OSplitter::currentWidget() const{
return m_parentTab->currentWidget();
return 0l;
}
-
-
+/* wrong */
+#if 0
/**
* @reimplented for internal reasons
* returns the sizeHint of one of its sub widgets
*/
@@ -329,9 +329,9 @@ QSize OSplitter::minimumSizeHint()const {
return m_hbox->sizeHint();
else
return m_tabWidget->sizeHint();
}
-
+#endif
/**
* @reimplemented for internal reasons
*/
@@ -514,8 +514,9 @@ void OSplitter::commonChangeBox() {
m_hbox->setGeometry( frameRect() );
m_hbox->show();
delete m_tabWidget;
m_tabWidget = 0;
+ show(); // also show this widget
}
}
/*