Remove superfluous semicolon(;).

This commit is contained in:
sledgehammer999 2014-10-20 20:39:13 +03:00
parent c2f2d0a363
commit ce4ef37820
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ QBtSession::QBtSession()
BigRatioTimer = new QTimer(this); BigRatioTimer = new QTimer(this);
BigRatioTimer->setInterval(10000); BigRatioTimer->setInterval(10000);
connect(BigRatioTimer, SIGNAL(timeout()), SLOT(processBigRatios())); connect(BigRatioTimer, SIGNAL(timeout()), SLOT(processBigRatios()));
Preferences* const pref = Preferences::instance();; Preferences* const pref = Preferences::instance();
// Creating Bittorrent session // Creating Bittorrent session
QList<int> version; QList<int> version;
version << VERSION_MAJOR; version << VERSION_MAJOR;

View file

@ -209,7 +209,7 @@ QVariant TorrentModelItem::data(int column, int role) const
case TR_NAME: case TR_NAME:
return m_name.isEmpty() ? m_torrent.name() : m_name; return m_name.isEmpty() ? m_torrent.name() : m_name;
case TR_PRIORITY: { case TR_PRIORITY: {
int pos = m_torrent.queue_position(m_lastStatus);; int pos = m_torrent.queue_position(m_lastStatus);
if (pos > -1) if (pos > -1)
return pos - HiddenData::getSize(); return pos - HiddenData::getSize();
else else