Do not attempt to set null user images in tdm tdecontrol module

This resolves Bug 1899
pull/2/head
Timothy Pearson 10 years ago
parent 5bb5839ff7
commit f8903b3564

@ -263,8 +263,10 @@ void TDMUsersWidget::slotUserSelected()
p.load( m_userPixDir + ".default.face.icon" );
rstuserbutton->setEnabled( false );
}
if (!p.isNull()) {
userbutton->setPixmap( p.smoothScale( 48, 48, TQ_ScaleMin ) );
}
}
void TDMUsersWidget::changeUserPix(const TQString &pix)

Loading…
Cancel
Save