chore: sonarcloud warnings 2 (#1496)

* fix "merge nested if" sonarcloud warnings

* fix explicit constructor warnings in qt client
This commit is contained in:
Charles Kerr
2020-11-01 15:47:57 -06:00
committed by GitHub
parent e59fe7daaf
commit 19e52d8b9a
56 changed files with 302 additions and 536 deletions

View File

@@ -21,7 +21,7 @@
<div id="mainbox">
<div id="caticon">
<img src="../gfx/TransmissionIcon.png" alt="Transmission Icon" height="32" width="32" border="0">
<img src="../gfx/TransmissionIcon.png" alt="Transmission Logo" height="32" width="32" border="0">
&nbsp;
</div>
<div class="pagetitle">
@@ -37,7 +37,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/open.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="adding a torrent" src="../gfx/open.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Download your file's associated 'torrent file' (extension .torrent). These are commonly found at <a href="http://en.wikipedia.org/wiki/BitTorrent_tracker">'tracker' websites</a>.
<p>Once you have the torrent file, drag it into Transmission - downloading should start immediately.
@@ -58,7 +58,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/creation.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="creating a torrent" src="../gfx/creation.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Yes, you can share a file or folder by dragging it into Transmission. Alternatively, click 'Create' in the toolbar, and choose your file.
<p>When the dialog box appears, enter your tracker address (or addresses), comments, and private status.
@@ -75,7 +75,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/scheduler.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="scheduler" src="../gfx/scheduler.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Yes, by using 'Speed Limit Mode'. Simply go to Preferences -> Bandwidth, and then set both the speed you would like Transmission to be limited to, as well as the period of time you would like the limits applied.
<p>When Speed Limit Mode is enabled, the turtle will be illuminated in blue.</p>
@@ -90,7 +90,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/queue.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="queue" src="../gfx/queue.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Yes, you can queue seeding and/or downloading transfers via Preferences -> Transfers -> Management.
<p>The queue system is very simple: You start and pause transfers as usual, but if you're over the queue limit starting a transfer will instead make it "Waiting to download..."
@@ -107,7 +107,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/group.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="groups" src="../gfx/group.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Transmission allows you to sort your torrents by various criteria. Choose "Sort Transfers By" in the View menu, as well as the Action menu.
<p>You can also filter your torrents by their activity state. Simply enable the Filter bar in the View menu.
@@ -125,7 +125,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/inspector.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="inspector" src="../gfx/inspector.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Click the Inspector icon, or simply double-click any transfer in the main window.
<p>The inspector gives you:
@@ -147,7 +147,7 @@
</td>
</tr>
<tr>
<td valign="top" width="150"><img src="../gfx/fileselection.png" height="auto" width="150" border="0"></td>
<td valign="top" width="150"><img alt="file selection" src="../gfx/fileselection.png" height="auto" width="150" border="0"></td>
<td valign="top">
<p>Yes, either upon opening a torrent, or once it has started. When you open a multi-file torrent, a detailed Open window will appear, allowing you to select specific files.
<p>For transfers which are already running, double click them to open the Inspector, and then click the 'Files' tab. Simply check the boxes next to the files you want to download (the default is all of them).