Browse Source

Remove superfluous semicolon(;).

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
ce4ef37820
  1. 2
      src/qtlibtorrent/qbtsession.cpp
  2. 2
      src/qtlibtorrent/torrentmodel.cpp

2
src/qtlibtorrent/qbtsession.cpp

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

2
src/qtlibtorrent/torrentmodel.cpp

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

Loading…
Cancel
Save