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

List:       kde-commits
Subject:    kdepim/libkdepim
From:       Mario Teijeiro Otero <emeteo () escomposlinux ! org>
Date:       2005-03-10 13:19:54
Message-ID: 20050310131954.1288E17AA0 () office ! kde ! org
[Download RAW message or body]

CVS commit by mteijeiro: 

* tag span is not necesary here to copy&paste, the attribute "alt" do 
this work.
BUGS:100662


  M +3 -4      linklocator.cpp   1.6


--- kdepim/libkdepim/linklocator.cpp  #1.5:1.6
@@ -401,10 +401,9 @@ QString LinkLocator::getEmoticon()
     }
     else {
-      // create an image tag with nested span (the text in the span is used
+      // create an image tag (the text in attribute alt is used
       // for copy & paste) representing the smiley
-      htmlRep = QString("<span class=\"pimsmileytext\">%1</span>"
-                        "<img class=\"pimsmileyimg\" src=\"%2\" "
+      htmlRep = QString("<img class=\"pimsmileyimg\" src=\"%2\" "
                         "alt=\"%3\" title=\"%4\"/>")
-                .arg( QStyleSheet::escape( smiley ), dataUrl,
+                .arg( dataUrl,
                       QStyleSheet::escape( smiley ),
                       QStyleSheet::escape( smiley ) );


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

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