mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07: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
3 changed files with 6 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue