From 4c0a587fa113c3a4fd425c9f2fe48eb3c7f25272 Mon Sep 17 00:00:00 2001 From: Szymon Stefanek Date: Tue, 11 Nov 2008 04:27:35 +0000 Subject: [PATCH] Use a smaller icon for the tooltip in FolderView. (Thomas: It's a small change, I hope it doesn't conflict with yours) svn path=/trunk/KDE/kdepim/; revision=882644 --- folderview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/folderview.cpp b/folderview.cpp index 57542cb8a..16d8b998e 100644 --- a/folderview.cpp +++ b/folderview.cpp @@ -1183,11 +1183,11 @@ bool FolderView::event( QEvent *e ) */ } - int icon_sizes[] = { 128, 64, 48, 32, 22 }; + int icon_sizes[] = { /* 128, 64, 48, */ 32, 22 }; QString iconPath; - for ( int i = 0; i < 4; i++ ) + for ( int i = 0; i < 2; i++ ) { iconPath = KIconLoader::global()->iconPath( fvi->normalIcon(), -icon_sizes[ i ], true ); if ( !iconPath.isEmpty() ) @@ -1195,12 +1195,12 @@ bool FolderView::event( QEvent *e ) } if ( iconPath.isEmpty() ) - iconPath = KIconLoader::global()->iconPath( "folder", -128, false ); + iconPath = KIconLoader::global()->iconPath( "folder", -32, false ); tip += QString::fromLatin1( "" \ "" \ - "" \
" + "
" "" \ "
" \ "