CCBUG: 220632
svn path=/trunk/KDE/kdebase/apps/; revision=
1084630
}
Q_ASSERT(additionalInfoCount >= 0);
}
Q_ASSERT(additionalInfoCount >= 0);
- itemHeight += additionalInfoCount * m_font.pointSize() * 2;
+ itemHeight += additionalInfoCount * QFontMetrics(m_font).height();
// Optimize the item size of the grid in a way to prevent large gaps on the
// right border (= row arrangement) or the bottom border (= column arrangement).
// Optimize the item size of the grid in a way to prevent large gaps on the
// right border (= row arrangement) or the bottom border (= column arrangement).