diff options
Diffstat (limited to 'noatun/library/scrollinglabel.cpp')
-rw-r--r-- | noatun/library/scrollinglabel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/library/scrollinglabel.cpp b/noatun/library/scrollinglabel.cpp index 4484c872..678a7098 100644 --- a/noatun/library/scrollinglabel.cpp +++ b/noatun/library/scrollinglabel.cpp @@ -119,7 +119,7 @@ ScrollingLabel::_update() d->scrollSize = TQMAX(0, w - width()); d->buf.resize(w, h); - d->buf.fill(tqcolorGroup().background()); + d->buf.fill(colorGroup().background()); TQPainter p(&d->buf); p.setFont(font()); @@ -166,13 +166,13 @@ ScrollingLabel::scroll() } TQSize -ScrollingLabel::tqsizeHint() const +ScrollingLabel::sizeHint() const { return fontMetrics().boundingRect(d->text).size(); } TQSize -ScrollingLabel::tqminimumSizeHint() const +ScrollingLabel::minimumSizeHint() const { return TQSize(0, fontMetrics().height()); } |