mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user