mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 14:27:56 +00:00
- Added a little debug for p2b
This commit is contained in:
parent
ce627de39d
commit
8b814c724c
@ -1262,6 +1262,7 @@ void options_imp::parseP2BFilterFile(QString filePath) {
|
||||
}
|
||||
|
||||
if(version==1 || version==2) {
|
||||
qDebug ("p2b version 1 or 2");
|
||||
unsigned int start, end;
|
||||
|
||||
string name;
|
||||
@ -1283,6 +1284,7 @@ void options_imp::parseP2BFilterFile(QString filePath) {
|
||||
}
|
||||
}
|
||||
else if(version==3) {
|
||||
qDebug ("p2b version 3");
|
||||
unsigned int namecount;
|
||||
if(!stream.readRawData((char*)&namecount, sizeof(namecount))) {
|
||||
QMessageBox::critical(0, tr("I/O Error", "Input/Output Error"), tr("%1 is not a valid PeerGuardian P2B file.").arg(filePath));
|
||||
|
Loading…
Reference in New Issue
Block a user