Fix qAsConst usage.
This commit is contained in:
parent
63b501f41d
commit
e02160d025
|
@ -82,7 +82,7 @@ int main( int argc, char **argv )
|
|||
|
||||
auto devices = backend->scanDevices();
|
||||
qDebug() << "Found" << devices.length() << "devices.";
|
||||
for (const auto pdev : devices)
|
||||
for (const auto pdev : qAsConst(devices))
|
||||
{
|
||||
qDebug() << "Device @" << (void *)pdev;
|
||||
qDebug() << " " << pdev->prettyName();
|
||||
|
|
Loading…
Reference in New Issue