I wrote this code:
Qt Code:
  1. QString str = "http://www.forumcinemas.lv/rss/xml/movies/";
  2. Download_xml *Other = new Download_xml(str);
  3. QVector<Movie *> new_ml = Other->ml();
To copy to clipboard, switch view to plain text mode 
The problem i have found when going through the Debug:
when new_ml is being assigned a value, Other->ml(); is empty.
The thing is, that i thought when i write:
Download_xml *Other = new Download_xml(str);
new class would be automatically created but instead, it is created only after all those 3 lines of code. What's why when I assign the value to new_ml it is empty. How do i assign to new_ml the right value?