------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=121560         
ogoffart kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ogoffart kde org  2006-03-31 18:08 -------
SVN commit 525020 by ogoffart:

* put a 0 margin to <p> that may encapsulate the message

* possible fix to bug 121560 (crash when receiving messages)
   i'm not sure this fix the bug since i haven't been able to reproduce. but 
when seeing the backtrace, it will probably.
BUG: 121560



 M  +5 -1      chatmessagepart.cpp  


--- branches/kopete/0.12/kopete/kopete/chatwindow/chatmessagepart.cpp 
#525019:525020
 @ -168,6 +168,9  @
                DOM::Node node = m_chat->nodeUnderMouse();
                Kopete::Contact *contact = m_chat->contactFromNode( node );
                QString toolTipText;
+               
+               if(node.isNull())
+                       return;
 
                // this tooltip is attached to the viewport widget, so 
translate the node's rect
                // into its coordinates.
 @ -602,7 +605,8  @
                "a{color:%8}a.visited{color:%9}"
                "a.KopeteDisplayName{text-decoration:none;color:inherit;}"
                
"a.KopeteDisplayName:hover{text-decoration:underline;color:inherit}"
-               
".KopeteLink{cursor:pointer;}.KopeteLink:hover{text-decoration:underline}" )
+               
".KopeteLink{cursor:pointer;}.KopeteLink:hover{text-decoration:underline}"
+               "p{margin:0;padding:0;}" /* some html messages are encapsuled 
into a <p> */ )
                .arg( p->bgColor().name() )
                .arg( p->fontFace().family() )
                .arg( p->fontFace().pointSize() )
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to