Make code less spaghetti

Not finished yet.
This commit is contained in:
joshua
2021-12-19 14:55:02 +01:00
parent cd914c8726
commit 6505330b5f
12 changed files with 649 additions and 406 deletions

View File

@@ -54,7 +54,7 @@ void SortTerminalStripCommand::sort()
if (arg1.real_terminals_vector.count())
{
str1 = arg1.real_terminals_vector.constLast().label_;
str1 = arg1.real_terminals_vector.constLast().label();
auto match = rx.match(str1);
if (match.hasMatch()) {
@@ -64,7 +64,7 @@ void SortTerminalStripCommand::sort()
if (arg2.real_terminals_vector.count())
{
str2 = arg2.real_terminals_vector.constLast().label_;
str2 = arg2.real_terminals_vector.constLast().label();
auto match = rx.match(str2);
if (match.hasMatch()) {