title: View isn't updated after changing model
body: <p>I'm trying to implement a model/view architecture in my program but the view isn't updated after changing the model, though I think it automatically should be.</p>
  
  <p>Here's a simplified version of my code:</p>
  
  <pre class="lang-cpp prettyprint-override"><code>QStringListModel *model = new QStringListModel;
  QListView *view = new QListView;
  
  view-&gt;setModel(model);
  
  QStringList list;
  list &lt;&lt; "a" &lt;&lt; "b" &lt;&lt; "c";
  
  model-&gt;setStringList(list);
  model-&gt;stringList() &lt;&lt; "d";
  </code></pre>
  
  <p>Problem is, my view only contains a, b and c. But not d. Why? I thought the view would automatically be updated after changing the model, but it doesn't seem to be the case. Dou you have an idea?</p>