[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdenetwork/kopete/protocols/msn
From:       Matt Rogers <matt.rogers () kdemail ! net>
Date:       2004-04-30 19:11:51
Message-ID: 20040430191151.0EEDE9A5E () office ! kde ! org
[Download RAW message or body]

CVS commit by mattr: 

Backport the fix for 77100. Should be in KDE 3.2.3

CCMAIL: 77100@bugs.kde.org


  M +3 -1      msnmessagemanager.cpp   1.91.2.2


--- kdenetwork/kopete/protocols/msn/msnmessagemanager.cpp  #1.91.2.1:1.91.2.2
@@ -21,4 +21,5 @@
 #include <qimage.h>
 #include <qtooltip.h>
+#include <qfile.h>
 
 #include <kconfig.h>
@@ -492,5 +493,6 @@ void MSNMessageManager::slotDisplayPictu
         if ( c && m_image )
         {
-                if ( c->displayPicture() )
+                KTempFile* tempFile = c->displayPicture();
+                if ( tempFile && tempFile->file() && tempFile->file()->size() != 0 )
                 {
                         // FIXME: don't duplicate this code with the c'tor - Martijn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic