author | alwin <alwin> | 2004-11-08 23:09:11 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-11-08 23:09:11 (UTC) |
commit | 4638c11f127d420818e2356359ae6f2223fb4407 (patch) (side-by-side diff) | |
tree | 423eabc9469964ced331b04aa51730f13de0b062 | |
parent | 1480f96170cb7cd7c262a14ad56ff08f384de10f (diff) | |
download | opie-4638c11f127d420818e2356359ae6f2223fb4407.zip opie-4638c11f127d420818e2356359ae6f2223fb4407.tar.gz opie-4638c11f127d420818e2356359ae6f2223fb4407.tar.bz2 |
ui. in BigScreenmode it had an deep recursion in layout setup. I had
just commented out that line (353) - it seems to work now, but I'm not sure
if it is correct.
I think, this widget should be checked carefully.
-rw-r--r-- | libopie2/opieui/otabwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opieui/otabwidget.cpp b/libopie2/opieui/otabwidget.cpp index d23b1c9..80a4c9b 100644 --- a/libopie2/opieui/otabwidget.cpp +++ b/libopie2/opieui/otabwidget.cpp @@ -337,33 +337,33 @@ QPixmap OTabWidget::loadSmooth( const QString &name ) QPixmap p; p.convertFromImage( Resource::loadImage( name ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); return p; } void OTabWidget::selectTab( OTabInfo *tab ) { if ( tabBarStyle == IconTab ) { if ( currTab ) { tabBar->tab( currTab->id() )->setText( QString::null ); setUpLayout(); } tabBar->tab( tab->id() )->setText( tab->label() ); tabBar->setCurrentTab( tab->id() ); - setUpLayout(); +// setUpLayout(); tabBar->update(); } else { tabBar->setCurrentTab( tab->id() ); } widgetStack->raiseWidget( tab->control() ); emit currentChanged( tab->control() ); currTab = tab; } void OTabWidget::setUpLayout() { |