Fix coding style

This commit is contained in:
thalieht 2018-06-14 14:46:50 +03:00
parent 6d4434ad66
commit eb508d67ef
31 changed files with 162 additions and 165 deletions

View file

@ -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