rem: if ( i == 0 )
add: if ( j <= 0 )
context: static QString splitLine( QString &line){    removeTrailingSpace( line );    int i = 0;    int j = -1;    int l = line.length();    // TODO: Replace tabs with spaces first.    while(i < l)    {       QChar c = line[i];       if ((c == '>') || (c == ':') || (c == '|'))          j = i+1;         else if ((c != ' ') && (c != '\t'))          break;       i++;    }    if ( i == 0 )    {       return "";    }    if ( i == l )    {       QString result = line;       line = QString::null;       return result;    }    QString result = line.left(j);    line = line.mid(j);    return result;}