I have stored QStringList
in a QVariant
variable while calling setData
function. Now I'd like to restore this data from QVariant
variable. How to do it?
Edit: I tried convert but I don't seem to understand how it works.
QVariant
has a toStringList()
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With