Commit c436f2d0 authored by Scott Wheeler's avatar Scott Wheeler

Heh, found it! I had all of the logic in there to ensure that the label

was wide enough, but sadly was applying it to the wrong label.  ;-)

CCMAIL:56687-done@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=217706
parent 12d34ad6
......@@ -82,11 +82,11 @@ SplashScreen::SplashScreen() : QHBox(0 , "splashScreen", Qt::WStyle_Splash)
QLabel *textLabel = new QLabel(i18n("Items loaded:"), this);
textLabel->setFont(font);
textLabel->setMinimumWidth(textLabel->fontMetrics().width("00000"));
m_countLabel = new QLabel(this);
m_countLabel->setText(QString::number(count));
m_countLabel->setFont(font);
m_countLabel->setMinimumWidth(m_countLabel->fontMetrics().width("00000"));
setMaximumWidth(iconLabel->width() + textLabel->width() + m_countLabel->width() + 10);
setMaximumHeight(QMAX(iconLabel->height(), textLabel->height()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment