title: QML - Filling menu with model items
body: <p>I'm trying to fill a <code>Menu</code> dynamically from a <code>ListModel</code>, but this approach won't work (when I right click the menu won't show anything):</p>
  
  <p>this my menuItems:</p>
  
  <pre><code>import QtQuick.Controls 1.3
  
  ListModel{
      id:menuItems
      ListElement{
          text:"hello1"
      }
      ListElement{
          text:"hello2"
      }
      ListElement{
          text:"hello3"
      }
  }
  </code></pre>
  
  <p>and this my menu</p>
  
  <pre><code>Menu{
      id:contextMenu
      Repeater{
      model: menuItems
      MenuItem{}
  
  }
  </code></pre>
  
  <p>I even tried to put a an <code>Instantiator</code> but the menu won't show anything</p>