~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to messageviewer/webkitparthtmlwriter.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
  for( QWebElementCollection::iterator it = images.begin(); it != images.end(); ++it )
137
137
  {
138
138
    KUrl url( (*it).attribute( "src" ) );
139
 
    if ( url.protocol() == "cid" )
 
139
    if ( url.protocol() == QLatin1String( "cid" ) )
140
140
    {
141
141
      EmbeddedPartMap::const_iterator cit = mEmbeddedPartMap.constFind( url.path() );
142
142
      if ( cit != mEmbeddedPartMap.constEnd() ) {