Revamp RealTerminal class...... again

I don't know what I want, I'm crazy :D.
Next commit will also revamp PhysicalTerminal
and TerminalStripBridge class, code will be more clear and
easy to understand.
This commit is contained in:
joshua
2021-12-23 18:37:17 +01:00
parent 02b385e0b7
commit a2e5989f3b
7 changed files with 342 additions and 387 deletions

View File

@@ -54,7 +54,7 @@ void SortTerminalStripCommand::sort()
if (arg1.realTerminalCount())
{
str1 = arg1.realTerminalDatas().constLast().label();
str1 = arg1.realTerminals().constLast().toStrongRef()->label();
auto match = rx.match(str1);
if (match.hasMatch()) {
@@ -64,7 +64,7 @@ void SortTerminalStripCommand::sort()
if (arg2.realTerminalCount())
{
str2 = arg2.realTerminalDatas().constLast().label();
str2 = arg2.realTerminals().constLast().toStrongRef()->label();
auto match = rx.match(str2);
if (match.hasMatch()) {