mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 10:50:23 +08:00
fix: fixed batch latency test, close #712
This commit is contained in:
parent
315ee055cb
commit
148f91c83f
@ -1 +1 @@
|
||||
5688
|
||||
5689
|
||||
|
@ -1034,19 +1034,19 @@ void MainWindow::on_action_RCM_UpdateSubscription_triggered()
|
||||
|
||||
void MainWindow::on_action_RCM_LatencyTest_triggered()
|
||||
{
|
||||
auto current = connectionListWidget->currentItem();
|
||||
if (current != nullptr)
|
||||
{
|
||||
auto widget = GetItemWidget(current);
|
||||
if (widget)
|
||||
for (const auto ¤t : connectionListWidget->selectedItems())
|
||||
{
|
||||
if (!current)
|
||||
continue;
|
||||
const auto widget = GetItemWidget(current);
|
||||
if (!widget)
|
||||
continue;
|
||||
if (widget->IsConnection())
|
||||
ConnectionManager->StartLatencyTest(widget->Identifier().connectionId);
|
||||
else
|
||||
ConnectionManager->StartLatencyTest(widget->Identifier().groupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_pluginsBtn_clicked()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user