Add const to a few pointer arguments

This commit is contained in:
thalieht
2019-02-22 04:24:22 +02:00
parent ce437817de
commit 77aea3c59e
10 changed files with 12 additions and 12 deletions

View File

@@ -118,7 +118,7 @@ PiecesBar::PiecesBar(QWidget *parent)
setMouseTracking(true);
}
void PiecesBar::setTorrent(BitTorrent::TorrentHandle *torrent)
void PiecesBar::setTorrent(const BitTorrent::TorrentHandle *torrent)
{
m_torrent = torrent;
if (!m_torrent)