mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix coding style
This commit is contained in:
parent
6d4434ad66
commit
eb508d67ef
31 changed files with 162 additions and 165 deletions
|
@ -527,20 +527,20 @@ void TransferListWidget::bottomPrioSelectedTorrents()
|
|||
|
||||
void TransferListWidget::copySelectedMagnetURIs() const
|
||||
{
|
||||
QStringList magnet_uris;
|
||||
QStringList magnetUris;
|
||||
foreach (BitTorrent::TorrentHandle *const torrent, getSelectedTorrents())
|
||||
magnet_uris << torrent->toMagnetUri();
|
||||
magnetUris << torrent->toMagnetUri();
|
||||
|
||||
qApp->clipboard()->setText(magnet_uris.join('\n'));
|
||||
qApp->clipboard()->setText(magnetUris.join('\n'));
|
||||
}
|
||||
|
||||
void TransferListWidget::copySelectedNames() const
|
||||
{
|
||||
QStringList torrent_names;
|
||||
QStringList torrentNames;
|
||||
foreach (BitTorrent::TorrentHandle *const torrent, getSelectedTorrents())
|
||||
torrent_names << torrent->name();
|
||||
torrentNames << torrent->name();
|
||||
|
||||
qApp->clipboard()->setText(torrent_names.join('\n'));
|
||||
qApp->clipboard()->setText(torrentNames.join('\n'));
|
||||
}
|
||||
|
||||
void TransferListWidget::copySelectedHashes() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue