Comment 8 for bug 1912327

Revision history for this message
Rik Mills (rikmills) wrote : Re: Ubiquity crashed when selecting WiFi network

From IRC:

[15:37]<mitya57> RikMills: looks like ssid should be converted from a QVariant to string before using it as a dictionary key.
[15:38]<mitya57> So something like "ssid = ssid.toString()" should fix it, but maybe similar changes are needed in other parts of the code.
[15:45]<RikMills> ssid = index.data(QtNetworkStore.SsidRole)
[15:46]<RikMills> that occurs in 2 definitions, so I guess yes
[15:46]<mitya57> Maybe just appending .toString() in both definitions will be enough