diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index 571c9d92f..502c310bb 100755 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -125,7 +125,7 @@ QBtSession::QBtSession() BigRatioTimer = new QTimer(this); BigRatioTimer->setInterval(10000); connect(BigRatioTimer, SIGNAL(timeout()), SLOT(processBigRatios())); - Preferences* const pref = Preferences::instance();; + Preferences* const pref = Preferences::instance(); // Creating Bittorrent session QList version; version << VERSION_MAJOR; diff --git a/src/qtlibtorrent/torrentmodel.cpp b/src/qtlibtorrent/torrentmodel.cpp index fcaee6bd3..d4c936387 100644 --- a/src/qtlibtorrent/torrentmodel.cpp +++ b/src/qtlibtorrent/torrentmodel.cpp @@ -209,7 +209,7 @@ QVariant TorrentModelItem::data(int column, int role) const case TR_NAME: return m_name.isEmpty() ? m_torrent.name() : m_name; case TR_PRIORITY: { - int pos = m_torrent.queue_position(m_lastStatus);; + int pos = m_torrent.queue_position(m_lastStatus); if (pos > -1) return pos - HiddenData::getSize(); else