|
|
@ -515,7 +515,7 @@ void KopeteMetaContactLVI::slotPhotoChanged()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_oldStatusIcon= d->metaContactIcon->pixmap();
|
|
|
|
m_oldStatusIcon= d->metaContactIcon->pixmap();
|
|
|
|
TQPixmap photoPixmap;
|
|
|
|
TQPixmap photoPixmap;
|
|
|
|
//TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( ""x-office-address-book", TDEIcon::Desktop ) );
|
|
|
|
//TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "x-office-address-book", TDEIcon::Desktop ) );
|
|
|
|
TQImage photoImg = m_metaContact->photo();
|
|
|
|
TQImage photoImg = m_metaContact->photo();
|
|
|
|
if ( !photoImg.isNull() && (photoImg.width() > 0) && (photoImg.height() > 0) )
|
|
|
|
if ( !photoImg.isNull() && (photoImg.width() > 0) && (photoImg.height() > 0) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|