OTHER: textscroller ignored trailing space after seperator

This commit is contained in:
Thomas Frauendorfer 2010-03-13 14:51:20 +01:00
parent cbcffe4b94
commit fa2c5ec9da

View file

@ -192,9 +192,9 @@ TextScroller::drawQtFont (QString text)
if (rect.width() > width ()) {
temp += QString (" *** ");
QRect rect = fM.boundingRect (temp);
int w = fM.width (temp);
m_pixmap = QPixmap (rect.width(), height ());
m_pixmap = QPixmap (w, height ());
} else {
m_pixmap = QPixmap (size ());
}