Subversion Repositories svn1

Rev

Rev 343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 343 Rev 345
Line 127... Line 127...
127
        return;
127
        return;
128
    }
128
    }
129
 
129
 
130
    bool ok;
130
    bool ok;
131
    int team = first.toInt(&ok);
131
    int team = first.toInt(&ok);
132
    if ( ! ok || team <= 0 )
132
    if ( ! ok || team <= 0 || team > 999 )
-
 
133
    {
-
 
134
        qDebug("Bad Team Number: %s", qPrintable(line));
133
        return;
135
        return;
-
 
136
    }
134
    if (team > ui->tableWidget->rowCount())
137
    if (team > ui->tableWidget->rowCount())
135
    {
138
    {
136
        ui->tableWidget->setRowCount(team);
139
        ui->tableWidget->setRowCount(team);
137
    }
140
    }
138
 
141