2021-04-16 Fred Gleason <fredg@paravelsystems.com>

* Fixed a copy-paste typo in the 'updateRowLine()' method of
	the following classes: 'RDFeedListModel', 'RDGroupListModel',
	'RDLogListModel', 'RDReplicatorListModel', 'RDSchedCodeListModel',
	'RDServiceListModel', 'RDUserListModel'.
	* Removed the 'RDLogImportModel::updateRowLine()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-04-16 10:47:21 -04:00
parent 3887d806b0
commit 1b7dd5cd7d
10 changed files with 13 additions and 23 deletions

View File

@@ -349,7 +349,7 @@ void RDGroupListModel::updateRowLine(int line)
{
if(line<d_texts.size()) {
QString sql=sqlFields()+
"where NAME=\""+RDEscapeString(d_texts.at(line).at(0).toString())+"\"";
"where NAME=\""+RDEscapeString(d_texts.at(line).at(line).toString())+"\"";
RDSqlQuery *q=new RDSqlQuery(sql);
if(q->first()) {
updateRow(line,q);