Browse Source

Merge pull request #3932 from Chocobo1/refactor

Refactor
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
c771703c34
  1. 2
      src/core/net/private/geoipdatabase.cpp
  2. 10
      src/gui/properties/propertieswidget.cpp

2
src/core/net/private/geoipdatabase.cpp

@ -392,6 +392,8 @@ QVariant GeoIPDatabase::readDataField(quint32 &offset) const @@ -392,6 +392,8 @@ QVariant GeoIPDatabase::readDataField(quint32 &offset) const
else
qDebug() << "* Invalid field size for type: Float";
break;
default:
qDebug() << "* Unsupported data type: Unknown";
}
if (!usePointer)

10
src/gui/properties/propertieswidget.cpp

@ -453,19 +453,19 @@ void PropertiesWidget::loadDynamicData() { @@ -453,19 +453,19 @@ void PropertiesWidget::loadDynamicData() {
showPiecesAvailability(false);
}
return;
break;
}
case PropTabBar::TRACKERS_TAB: {
// Trackers
trackerList->loadTrackers();
return;
break;
}
case PropTabBar::PEERS_TAB: {
// Load peers
peersList->loadPeers(m_torrent);
return;
break;
}
case PropTabBar::FILES_TAB: {
@ -480,10 +480,10 @@ void PropertiesWidget::loadDynamicData() { @@ -480,10 +480,10 @@ void PropertiesWidget::loadDynamicData() {
// PropListModel->model()->updateFilesPriorities(h.file_priorities());
filesList->setUpdatesEnabled(true);
}
break;
}
default:
return;
default:;
}
}

Loading…
Cancel
Save