1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 12:34:19 +00:00

- Fix upload/download rate order in two menus

This commit is contained in:
Christophe Dumez 2009-11-27 16:02:24 +00:00
parent 4908458729
commit 6b04005d08
2 changed files with 3 additions and 3 deletions

View File

@ -135,8 +135,8 @@ void PeerListWidget::showPeerListMenu(QPoint) {
QAction *dlLimitAct = 0; QAction *dlLimitAct = 0;
QAction *banAct = 0; QAction *banAct = 0;
if(!selectedPeerIPs.isEmpty()) { if(!selectedPeerIPs.isEmpty()) {
upLimitAct = menu.addAction(QIcon(":/Icons/skin/seeding.png"), tr("Limit upload rate"));
dlLimitAct = menu.addAction(QIcon(":/Icons/skin/download.png"), tr("Limit download rate")); dlLimitAct = menu.addAction(QIcon(":/Icons/skin/download.png"), tr("Limit download rate"));
upLimitAct = menu.addAction(QIcon(":/Icons/skin/seeding.png"), tr("Limit upload rate"));
banAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-delete.png"), tr("Ban peer permanently")); banAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-delete.png"), tr("Ban peer permanently"));
empty_menu = false; empty_menu = false;
} }

View File

@ -89,8 +89,8 @@
<li><a href="#Pause" class="pause">_(Pause)</a></li> <li><a href="#Pause" class="pause">_(Pause)</a></li>
<li class="separator"><a href="#Delete" class="delete">_(Delete)</a></li> <li class="separator"><a href="#Delete" class="delete">_(Delete)</a></li>
<li><a href="#DeleteHD" class="deleteHD">_(Delete from HD)</a></li> <li><a href="#DeleteHD" class="deleteHD">_(Delete from HD)</a></li>
<li class="separator"><a href="#UploadLimit" class="uploadLimit">_(Limit upload rate)</a></li> <li class="separator"><a href="#DownloadLimit" class="downloadLimit">_(Limit download rate)</a></li>
<li><a href="#DownloadLimit" class="downloadLimit">_(Limit download rate)</a></li> <li><a href="#UploadLimit" class="uploadLimit">_(Limit upload rate)</a></li>
<li class="separator"><a href="#ForceRecheck" class="recheck">_(Force recheck)</a></li> <li class="separator"><a href="#ForceRecheck" class="recheck">_(Force recheck)</a></li>
</ul> </ul>
</body> </body>