mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02: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:
@@ -215,7 +215,7 @@ RDMacro RDMacro::fromString(const QString &str,RDMacro::Role role)
|
||||
//
|
||||
// Get Command
|
||||
//
|
||||
QStringList f0=f0.split(" ",str2.left(str2.length()-1).stripWhiteSpace());
|
||||
QStringList f0=str2.left(str2.length()-1).trimmed().split(" ");
|
||||
if(f0[0].length()!=2) {
|
||||
ret.setCommand(RDMacro::NN);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user