mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 04:24:23 +00:00
- Fixed ipv4 compilation warning with latest g++
- Paused torrents that are checking are now displayed as paused (not checking) -> less confusing - Updated TODO (libtorrent fixed ipfilter bug)
This commit is contained in:
parent
d3f917b408
commit
676f30d9a1
1
TODO
1
TODO
@ -45,6 +45,5 @@
|
||||
- Optimize and cleanup code
|
||||
- Wait for some bug fixes in libtorrent :
|
||||
- upload/download limit per torrent
|
||||
- ipfilter crash
|
||||
- double free or corruption on exit
|
||||
- Crash due to connection_queue
|
@ -611,9 +611,11 @@ void GUI::updateDlList(bool force){
|
||||
continue;
|
||||
case torrent_status::checking_files:
|
||||
case torrent_status::queued_for_checking:
|
||||
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/connecting.png")), Qt::DecorationRole);
|
||||
setRowColor(row, "grey");
|
||||
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)torrentStatus.progress));
|
||||
if(BTSession->getTorrentsToPauseAfterChecking().indexOf(fileHash) == -1){
|
||||
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/connecting.png")), Qt::DecorationRole);
|
||||
setRowColor(row, "grey");
|
||||
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)torrentStatus.progress));
|
||||
}
|
||||
break;
|
||||
case torrent_status::connecting_to_tracker:
|
||||
if(torrentStatus.download_payload_rate > 0){
|
||||
|
@ -1083,7 +1083,7 @@ void options_imp::on_addFilterRange_clicked(){
|
||||
"0.0.0.0", &ok);
|
||||
QStringList IP1 = startIP.split('.');
|
||||
// Check IP
|
||||
bool ipv4;
|
||||
bool ipv4 = true;
|
||||
QRegExp is_ipv6("^[0-9a-f]{4}(:[0-9a-f]{4}){7}$", Qt::CaseInsensitive, QRegExp::RegExp);
|
||||
QRegExp is_ipv4("^(([0-1]?[0-9]?[0-9])|(2[0-4][0-9])|(25[0-5]))(\\.(([0-1]?[0-9]?[0-9])|(2[0-4][0-9])|(25[0-5]))){3}$", Qt::CaseInsensitive, QRegExp::RegExp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user