mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07: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:
parent
ca28fc27dc
commit
e45e29b431
3 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue