mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Fix functions and macros using to support both Qt4 and Qt5.
This commit is contained in:
committed by
sledgehammer999
parent
763d8a392f
commit
ce3aac5f9d
@@ -141,10 +141,10 @@ Submit Query
|
||||
m_error = true;
|
||||
return;
|
||||
} else {
|
||||
boundary = "--" + boundaryRegexNotQuoted.cap(1).toAscii();
|
||||
boundary = "--" + boundaryRegexNotQuoted.cap(1).toLatin1();
|
||||
}
|
||||
} else {
|
||||
boundary = "--" + boundaryRegexQuoted.cap(1).toAscii();
|
||||
boundary = "--" + boundaryRegexQuoted.cap(1).toLatin1();
|
||||
}
|
||||
qDebug() << "Boundary is " << boundary;
|
||||
QList<QByteArray> parts = splitRawData(m_data, boundary);
|
||||
|
||||
Reference in New Issue
Block a user