summaryrefslogtreecommitdiffstats
path: root/kdeui/kiconview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-02 15:32:25 -0500
committerSlávek Banko <slavek.banko@axis.cz>2013-05-03 01:38:02 +0200
commita40d90b98203e83af363f6f40ceaac2329ebede5 (patch)
tree157ad7d949a7ee2b92893622b7e706117d778157 /kdeui/kiconview.cpp
parentf081179ea04eec90c2a24860d45ff2d404bd27d0 (diff)
downloadtdelibs-a40d90b98203e83af363f6f40ceaac2329ebede5.tar.gz
tdelibs-a40d90b98203e83af363f6f40ceaac2329ebede5.zip
Revert previous patch as the error appears to be in TQFontMetrics, not this file
(cherry picked from commit 857fae6c4fb0f21c49b13f53bb4d3290305f9165)
Diffstat (limited to 'kdeui/kiconview.cpp')
-rw-r--r--kdeui/kiconview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/kiconview.cpp b/kdeui/kiconview.cpp
index 9c1f924d5..4e854aba1 100644
--- a/kdeui/kiconview.cpp
+++ b/kdeui/kiconview.cpp
@@ -634,7 +634,7 @@ void KIconViewItem::calcRect( const TQString& text_ )
}
if ( ( itemIconRect.height() <= 20 ) && ( itemTextRect.height() < itemIconRect.height() ) ) {
d->realTextHeight = itemTextRect.height();
- itemTextRect.setHeight( itemIconRect.height() - 4 );
+ itemTextRect.setHeight( itemIconRect.height() - 2 );
itemTextRect.setY( itemIconRect.y() );
}
}