If multiple trackers are selected, Ctrl+C will copy only one of them
while the context menu will copy all of them. Fix this inconsistency.
Closes#2675.
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)
For clear_left.png, Beyond Compare shows important difference when
compared with original. However, the optimized file itself works fine.
Signed-off-by: ADTC <send2adtc@gmail.com>
To maintain consistency with the actual English menu item, the variable
names and method name have been changed to reflect the menu item text.
Per comments in PR qbittorrent#2493
Signed-off-by: ADTC <send2adtc@gmail.com>
The Copy icon is added to the menu item. This is in tandem with other
uses of the same icon, such as "Copy" (in log), "Copy selected" (in peer
list), "Copy tracker url", etc.
Also changed the ordering to have the new option appear before the
existing "Copy magnet link" icon.
This is as per comments in PR qbittorrent#2493
Signed-off-by: ADTC <send2adtc@gmail.com>
Implementation of feature request #2452https://github.com/qbittorrent/qBittorrent/issues/2452
Adds a new option in the right-click menu of the torrent list to copy
the name(s) of selected torrent(s) to the clipboard. This is similar to
the existing option to copy the magnet links to the clipboard.
This patch was originally authored by Chris Hirst (ciaobaby). I changed
the item name from "Copy caption" to "Copy name" (the torrent list
column header says "Name"), and I added the missing line in the header
file.
Note: Translations are not updated for the English menu item "Copy
name".
Signed-off-by: ADTC <send2adtc@gmail.com>
All MainWindow child widgets use constructors with 'parent' parameter
that allows parent widget to delete them at its destruction.
Some other MainWindow cleanup code replaced to destructor.
Application manages MainWindow instance and remove it when aboutToQuit()
signal emitted.
Application process message and split it into params list itself (this
prevents code duplication).
Application store params unless other components ready to process them.
Application incapsulate all QMacApplication and SessionApplication logic
(this is too small to have separate classes).
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.