i've made a patch to fix this issue i really dislike how small the picture is shown, this is the patch:
[code:1]
--- kopete-0.8.0/kopete/protocols/msn/msnmessagemanager.cpp 2004-02-02 17:07:35.000000000 -0300
+++ kopete-0.8.0msnpicturebig/kopete/protocols/msn/msnmessagemanager.cpp 2004-02-25 12:16:10.000000000 -0300
@@ -75,13 +75,17 @@
m_image = new QLabel( 0L, "kde toolbar widget" );
new KWidgetAction( m_image, i18n( "MSN Display Picture" ), 0, 0, 0, actionCollection(), "msnDisplayPicture" );
if ( c->displayPicture() )
- {
+ { m_image->setPixmap(c->displayPicture()->name());
+ /*
// FIXME: don't duplicate this code with the slotDisplayPictureChanged - Martijn
// FIXME: don't hardcode the 22x22 geometry, but adjust to the toolbar's height - Martijn
// FIXME: make the tooltip center on the image rather than stay out of the way - Martijn
- QImage scaledImg = QPixmap( c->displayPicture()->name() ).convertToImage().smoothScale( 22, 22 );
+ QImage scaledImg = QPixmap( (c->displayPicture()->name()).convertToImage() );
+ //.convertToImage() );
+ //.smoothScale( 22, 22 );
m_image->setPixmap( scaledImg );
- QToolTip::add( m_image, "<qt><img src=\"" + c->displayPicture()->name() + "\"></qt>" );
+
+ QToolTip::add( m_image, "<qt><img src=\"" + c->displayPicture()->name() + "\"></qt>" );*/
}
}
else
@@ -500,12 +504,13 @@
{
if ( c->displayPicture() )
{
- // FIXME: don't duplicate this code with the c'tor - Martijn
+ m_image->setPixmap(c->displayPicture()->name());
+ /*// FIXME: don't duplicate this code with the c'tor - Martijn
// FIXME: don't hardcode the 22x22 geometry, but adjust to the toolbar's height - Martijn
// FIXME: make the tooltip center on the image rather than stay out of the way - Martijn
QImage scaledImg = QPixmap( c->displayPicture()->name() ).convertToImage().smoothScale( 22, 22 );
m_image->setPixmap( scaledImg );
- QToolTip::add( m_image, "<qt><img src=\"" + c->displayPicture()->name() + "\"></qt>" );
+ QToolTip::add( m_image, "<qt><img src=\"" + c->displayPicture()->name() + "\"></qt>" );*/
}
else
{
[/code:1]