mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-25 23:00:21 +01:00
2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified all instances of 'QStringList::split()' calls to use 'QString::split()'.
This commit is contained in:
@@ -770,7 +770,7 @@ void ListReports::GenerateCartDumpCsv(QString *report,bool prepend_names)
|
||||
// Get max number of scheduler codes
|
||||
//
|
||||
while(q->next()) {
|
||||
f0=f0.split(" ",q->value(17).toString());
|
||||
f0=q->value(17).toString().split(" ");
|
||||
if((int)f0.size()>code_quan) {
|
||||
code_quan=f0.size();
|
||||
}
|
||||
@@ -883,7 +883,7 @@ void ListReports::GenerateCartDumpCsv(QString *report,bool prepend_names)
|
||||
*report+=QString().sprintf("%d,",q->value(30).toInt());
|
||||
}
|
||||
|
||||
f0=f0.split(" ",q->value(31).toString());
|
||||
f0=q->value(31).toString().split(" ");
|
||||
for(int i=0;i<code_quan;i++) {
|
||||
if(((int)f0.size()>i)&&(f0[i]!=".")) {
|
||||
*report+="\""+f0[i].stripWhiteSpace()+"\",";
|
||||
|
||||
Reference in New Issue
Block a user