mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 23:30:20 +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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user