From ce4ef378206ad3de8b4d55d9a9ec5b467db9bb0f Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 20 Oct 2014 20:39:13 +0300 Subject: [PATCH] Remove superfluous semicolon(;). --- src/qtlibtorrent/qbtsession.cpp | 2 +- src/qtlibtorrent/torrentmodel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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