mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Added a little debug for p2b
This commit is contained in:
@@ -1262,6 +1262,7 @@ void options_imp::parseP2BFilterFile(QString filePath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(version==1 || version==2) {
|
if(version==1 || version==2) {
|
||||||
|
qDebug ("p2b version 1 or 2");
|
||||||
unsigned int start, end;
|
unsigned int start, end;
|
||||||
|
|
||||||
string name;
|
string name;
|
||||||
@@ -1283,6 +1284,7 @@ void options_imp::parseP2BFilterFile(QString filePath) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(version==3) {
|
else if(version==3) {
|
||||||
|
qDebug ("p2b version 3");
|
||||||
unsigned int namecount;
|
unsigned int namecount;
|
||||||
if(!stream.readRawData((char*)&namecount, sizeof(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));
|
QMessageBox::critical(0, tr("I/O Error", "Input/Output Error"), tr("%1 is not a valid PeerGuardian P2B file.").arg(filePath));
|
||||||
|
|||||||
Reference in New Issue
Block a user