summaryrefslogtreecommitdiff
path: root/libopie
authordrw <drw>2003-06-03 22:11:32 (UTC)
committer drw <drw>2003-06-03 22:11:32 (UTC)
commit41ffd8ca271b6803558389d0c10ecb289517c896 (patch) (side-by-side diff)
tree3d858b42989219ca7f38db0d01e7d88a0bff01c0 /libopie
parent94223c1a074b98d636b546b5a6b237ba91ee1f51 (diff)
downloadopie-41ffd8ca271b6803558389d0c10ecb289517c896.zip
opie-41ffd8ca271b6803558389d0c10ecb289517c896.tar.gz
opie-41ffd8ca271b6803558389d0c10ecb289517c896.tar.bz2
Make sure tabPosition is initialized properly, thanks zecke for finding
Diffstat (limited to 'libopie') (more/less context) (show whitespace changes)
-rw-r--r--libopie/otabwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/otabwidget.cpp b/libopie/otabwidget.cpp
index 05aafd4..fe2c60f 100644
--- a/libopie/otabwidget.cpp
+++ b/libopie/otabwidget.cpp
@@ -74,8 +74,9 @@ OTabWidget::OTabWidget( QWidget *parent, const char *name, TabStyle s, TabPositi
tabList = new QComboBox( false, tabBarStack, "tablist" );
tabBarStack->addWidget( tabList, 1 );
connect( tabList, SIGNAL( activated( int ) ), this, SLOT( slotTabListSelected( int ) ) );
+ tabBarPosition = p;
setTabStyle( s );
setTabPosition( p );
currTab= 0x0;