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() @@ -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<int> version;
version << VERSION_MAJOR;

2
src/qtlibtorrent/torrentmodel.cpp

@ -209,7 +209,7 @@ QVariant TorrentModelItem::data(int column, int role) const @@ -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

Loading…
Cancel
Save