mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Avoid falling through the switch case
This commit is contained in:
parent
a16d0f8d28
commit
a6d2f5186f
@ -453,19 +453,19 @@ void PropertiesWidget::loadDynamicData() {
|
||||
showPiecesAvailability(false);
|
||||
}
|
||||
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
case PropTabBar::TRACKERS_TAB: {
|
||||
// Trackers
|
||||
trackerList->loadTrackers();
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
case PropTabBar::PEERS_TAB: {
|
||||
// Load peers
|
||||
peersList->loadPeers(m_torrent);
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
case PropTabBar::FILES_TAB: {
|
||||
@ -480,10 +480,10 @@ void PropertiesWidget::loadDynamicData() {
|
||||
// PropListModel->model()->updateFilesPriorities(h.file_priorities());
|
||||
filesList->setUpdatesEnabled(true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
return;
|
||||
default:;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user