mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Raise minimum Qt version to 5.15.2
This commit is contained in:
parent
ee696e6f36
commit
27baa55443
9 changed files with 30 additions and 48 deletions
|
@ -122,12 +122,7 @@ Smtp::Smtp(QObject *parent)
|
|||
|
||||
connect(m_socket, &QIODevice::readyRead, this, &Smtp::readyRead);
|
||||
connect(m_socket, &QAbstractSocket::disconnected, this, &QObject::deleteLater);
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||
connect(m_socket, &QAbstractSocket::errorOccurred, this, &Smtp::error);
|
||||
#else
|
||||
connect(m_socket, qOverload<QAbstractSocket::SocketError>(&QAbstractSocket::error)
|
||||
, this, &Smtp::error);
|
||||
#endif
|
||||
|
||||
// Test hmacMD5 function (http://www.faqs.org/rfcs/rfc2202.html)
|
||||
Q_ASSERT(hmacMD5("Jefe", "what do ya want for nothing?").toHex()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue