~ubuntu-branches/ubuntu/trusty/grantlee/trusty

« back to all changes in this revision

Viewing changes to textdocument/lib/bbcodebuilder.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-07 09:19:01 UTC
  • Revision ID: james.westby@ubuntu.com-20101207091901-hsfsvnkxdshv4k8g
Tags: 0.1.7-0ubuntu3
Revert previous upload and try again with the correct patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
void BBCodeBuilder::beginAnchor( const QString &href, const QString &name )
78
78
{
79
 
  Q_UNUSED( name )
 
79
  Q_UNUSED(name)
80
80
  m_text.append( QString::fromLatin1( "[URL=%1]" ).arg( href ) );
81
81
}
82
82
void BBCodeBuilder::endAnchor()
140
140
  case QTextListFormat::ListDisc:
141
141
  case QTextListFormat::ListCircle:
142
142
  case QTextListFormat::ListSquare:
143
 
    m_text.append( QLatin1String( "[LIST]\n" ) );   // Unordered lists are all disc type in BBCode.
 
143
    m_text.append( QLatin1String( "[LIST]\n"  ) );  // Unordered lists are all disc type in BBCode.
144
144
    break;
145
145
  case QTextListFormat::ListDecimal:
146
146
    m_text.append( QLatin1String( "[LIST=1]\n" ) );