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();
|
auto devices = backend->scanDevices();
|
||||||
qDebug() << "Found" << devices.length() << "devices.";
|
qDebug() << "Found" << devices.length() << "devices.";
|
||||||
for (const auto pdev : devices)
|
for (const auto pdev : qAsConst(devices))
|
||||||
{
|
{
|
||||||
qDebug() << "Device @" << (void *)pdev;
|
qDebug() << "Device @" << (void *)pdev;
|
||||||
qDebug() << " " << pdev->prettyName();
|
qDebug() << " " << pdev->prettyName();
|
||||||
|
|
Loading…
Reference in New Issue