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.
Fix compiler error when compiling with -std=c++11
"invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]"