Fixed bug with passing QList from public method