mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Avoid type specifier mismatch
Qt5 uses `int` and Qt6 uses `qsizetype`, so use the stream version of `qDebug()` to avoid specifying types.
This commit is contained in:
@@ -2523,7 +2523,7 @@ QStringList Session::getListeningIPs() const
|
||||
}
|
||||
|
||||
const QList<QNetworkAddressEntry> addresses = networkIFace.addressEntries();
|
||||
qDebug("This network interface has %d IP addresses", addresses.size());
|
||||
qDebug() << "This network interface has " << addresses.size() << " IP addresses";
|
||||
for (const QNetworkAddressEntry &entry : addresses)
|
||||
checkAndAddIP(entry.ip(), configuredAddr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user