On my OnePlus 6T the scan QR code button [1] is next to 'Add network' so you don't have to select the Wi-Fi network first.
[1] https://i.imgur.com/qTicNpI.png
On my OnePlus 6T the scan QR code button [1] is next to 'Add network' so you don't have to select the Wi-Fi network first.
[1] https://i.imgur.com/qTicNpI.png