mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 00:30:53 +01:00
Make code less spaghetti
Not finished yet.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user