- 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:
Christophe Dumez 2007-07-26 15:43:27 +00:00
parent d3f917b408
commit 676f30d9a1
3 changed files with 6 additions and 5 deletions

View file

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