cp
This commit is contained in:
1 parent
38c9f229bc
commit
fd00e5dd15
290 files changed
+91612
-34
No files matched your search
@@ -234,8 +234,13 @@ void AccountList::updateDetailDisplay() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (linkColor == "#9E9E9E" && a.protocol == 2 && conn->transport_link) {
|
||||
linkColor = stcp_link_is_ready((struct stcp_link*)conn->transport_link) ? "#4CAF50" : "#E53935";
|
||||
if (linkColor == "#9E9E9E" && a.protocol == 2) {
|
||||
for (struct ETCP_LINK* tlk = conn->links; tlk; tlk = tlk->next) {
|
||||
if (tlk->is_tcp && tlk->tcp_link) {
|
||||
linkColor = stcp_link_is_ready(tlk->tcp_link) ? "#4CAF50" : "#E53935";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lines.append(QString("<span style='color:%1;'>●</span> %2:%3:%4")
|
||||
|
||||
Reference in new issue
Block a user