Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
netpipe committed Nov 22, 2022
1 parent d4b5ea0 commit 2e2c7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void MainWindow::onTimeout()
{
for(int i = 0; i < client_list.count(); i++)
{
if(client_list.at(i)->state()){
if(!client_list.at(i)->state()){
QString dis_con_ip = client_list.at(i)->peerAddress().toString();
dis_con_ip = dis_con_ip.right(dis_con_ip.length() - dis_con_ip.indexOf(":",3)-1);
int del_num=0;
Expand Down

0 comments on commit 2e2c7d3

Please sign in to comment.