author | drw <drw> | 2003-06-03 22:11:32 (UTC) |
---|---|---|
committer | drw <drw> | 2003-06-03 22:11:32 (UTC) |
commit | 41ffd8ca271b6803558389d0c10ecb289517c896 (patch) (unidiff) | |
tree | 3d858b42989219ca7f38db0d01e7d88a0bff01c0 /libopie/otabwidget.cpp | |
parent | 94223c1a074b98d636b546b5a6b237ba91ee1f51 (diff) | |
download | opie-41ffd8ca271b6803558389d0c10ecb289517c896.zip opie-41ffd8ca271b6803558389d0c10ecb289517c896.tar.gz opie-41ffd8ca271b6803558389d0c10ecb289517c896.tar.bz2 |
Make sure tabPosition is initialized properly, thanks zecke for finding
-rw-r--r-- | libopie/otabwidget.cpp | 1 |
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 | |||
74 | tabList = new QComboBox( false, tabBarStack, "tablist" ); | 74 | tabList = new QComboBox( false, tabBarStack, "tablist" ); |
75 | tabBarStack->addWidget( tabList, 1 ); | 75 | tabBarStack->addWidget( tabList, 1 ); |
76 | connect( tabList, SIGNAL( activated( int ) ), this, SLOT( slotTabListSelected( int ) ) ); | 76 | connect( tabList, SIGNAL( activated( int ) ), this, SLOT( slotTabListSelected( int ) ) ); |
77 | 77 | ||
78 | tabBarPosition = p; | ||
78 | setTabStyle( s ); | 79 | setTabStyle( s ); |
79 | setTabPosition( p ); | 80 | setTabPosition( p ); |
80 | 81 | ||
81 | currTab= 0x0; | 82 | currTab= 0x0; |