~ubuntu-branches/debian/sid/kdesvn/sid

« back to all changes in this revision

Viewing changes to src/svnfrontend/models/logmodelhelper.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-04-18 21:41:53 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090418214153-bdc4nd10fs47i8jp
Tags: 1.3.0-1
* New upstream release.
* debian/control
  - Bump Standards-Version to 3.8.1. No further changes.
  - Change Section of kdesvn-dbg to debug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    :_data(_entry),_realName(QString())
58
58
{
59
59
    _date = svn::DateTime(_entry.date);
60
 
    QStringList sp = _entry.message.split("\n");
 
60
    QStringList sp = _entry.message.split('\n');
61
61
    if (sp.count()==0) {
62
62
        _shortMessage=_entry.message;
63
63
    } else {
90
90
bool SvnLogModelNode::isParent(const QString&_par,const QString&tar)
91
91
{
92
92
    if (_par==tar) return true;
93
 
    QString par = _par+(_par.endsWith("/")?"":"/");
 
93
    QString par = _par.endsWith('/')?_par:_par+'/';
94
94
    return tar.startsWith(par);
95
95
}
96
96