mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 16:55:25 +08:00
6.5.3 clean
This commit is contained in:
@ -71,8 +71,8 @@ void tst_QNetworkInterface::initTestCase()
|
||||
void tst_QNetworkInterface::dump()
|
||||
{
|
||||
// This is for manual testing:
|
||||
QList<QNetworkInterface> allInterfaces = QNetworkInterface::allInterfaces();
|
||||
foreach (const QNetworkInterface &i, allInterfaces) {
|
||||
const QList<QNetworkInterface> allInterfaces = QNetworkInterface::allInterfaces();
|
||||
for (const QNetworkInterface &i : allInterfaces) {
|
||||
QString flags;
|
||||
if (i.flags() & QNetworkInterface::IsUp) flags += "Up,";
|
||||
if (i.flags() & QNetworkInterface::IsRunning) flags += "Running,";
|
||||
|
Reference in New Issue
Block a user