summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-04-13 00:52:15 (UTC)
committer mickeyl <mickeyl>2003-04-13 00:52:15 (UTC)
commit789046e40be9cbd91f22ebee67898ee1d6cc473a (patch) (unidiff)
tree5ada2d271c9a92e42abc08f35d9e5b3d85c1a5f3
parente26dcc6893559ab0fab52c22b79226b40656ad3d (diff)
downloadopie-789046e40be9cbd91f22ebee67898ee1d6cc473a.zip
opie-789046e40be9cbd91f22ebee67898ee1d6cc473a.tar.gz
opie-789046e40be9cbd91f22ebee67898ee1d6cc473a.tar.bz2
<tadaa>Change tab icon size to 14x14</tadaa>. Now most of our new icons
are no longer looking fuzzy because of scaling them up from 14x14 to 16x16
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/otabwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/otabwidget.cpp b/libopie/otabwidget.cpp
index 99bf067..a1fd2c0 100644
--- a/libopie/otabwidget.cpp
+++ b/libopie/otabwidget.cpp
@@ -318,25 +318,25 @@ void OTabWidget::slotTabListSelected( int index )
318{ 318{
319 OTabInfo *newtab = tabs.at( index ); 319 OTabInfo *newtab = tabs.at( index );
320 if ( newtab ) 320 if ( newtab )
321 { 321 {
322 selectTab( newtab ); 322 selectTab( newtab );
323 } 323 }
324} 324}
325 325
326QPixmap OTabWidget::loadSmooth( const QString &name ) 326QPixmap OTabWidget::loadSmooth( const QString &name )
327{ 327{
328 QImage image = Resource::loadImage( name ); 328 QImage image = Resource::loadImage( name );
329 QPixmap pixmap; 329 QPixmap pixmap;
330 pixmap.convertFromImage( image.smoothScale( 16, 16 ) ); 330 pixmap.convertFromImage( image.smoothScale( 14, 14 ) );
331 return pixmap; 331 return pixmap;
332} 332}
333 333
334void OTabWidget::selectTab( OTabInfo *tab ) 334void OTabWidget::selectTab( OTabInfo *tab )
335{ 335{
336 if ( tabBarStyle == IconTab ) 336 if ( tabBarStyle == IconTab )
337 { 337 {
338 if ( currentTab ) 338 if ( currentTab )
339 { 339 {
340 tabBar->tab( currentTab->id() )->setText( QString::null ); 340 tabBar->tab( currentTab->id() )->setText( QString::null );
341 setUpLayout(); 341 setUpLayout();
342 } 342 }