2018-08-08 Fred Gleason <fredg@paravelsystems.com>

* Modified all instances of 'QStringList::split()' calls to use
	'QString::split()'.
This commit is contained in:
Fred Gleason
2018-08-08 18:11:23 -04:00
parent e3bb963c3f
commit 8d11616b4b
44 changed files with 145 additions and 146 deletions

View File

@@ -305,7 +305,7 @@ void SoftwareAuthority::DispatchCommand()
return;
}
swa_inputs++;
f0=f0.split("\t",line_in);
f0=line_in.split("\t",QString::KeepEmptyParts);
name=f0[1];
if(f0.size()>=7) {
name=f0[6]+": "+f0[2];
@@ -357,7 +357,7 @@ void SoftwareAuthority::DispatchCommand()
return;
}
swa_outputs++;
f0=f0.split("\t",line_in);
f0=line_in.split("\t",QString::KeepEmptyParts);
name=f0[1];
if(f0.size()>=6) {
name=f0[3]+"/"+f0[5]+": "+f0[2];
@@ -400,7 +400,7 @@ void SoftwareAuthority::DispatchCommand()
//
// GPIO State Parser
//
f0=f0.split(" ",section);
f0=section.split(" ");
if((f0.size()==4)&&(f0[0].lower()=="gpistat")&&(f0[1].toInt()==swa_card)) {
if(swa_gpi_states[f0[2].toInt()].isEmpty()) {
swa_gpi_states[f0[2].toInt()]=f0[3];