title: Custom QCompleter strange behavior
body: <p>I all, I just follow this great example:<br>
  <a href="http://qt-project.org/doc/qt-4.8/tools-customcompleter.html" rel="nofollow">http://qt-project.org/doc/qt-4.8/tools-customcompleter.html</a><br>
  I copy the code exactly except some change with the modelFromFile method, here is it:  </p>
  
  <pre><code>QAbstractItemModel *MainWindow::modelFromFile(const QString&amp; fileName&amp;#41;
   {
       QStringList words;
       words
       &lt;&lt; "break"
       &lt;&lt; "default"
       &lt;&lt; "func"
       &lt;&lt; "interface"
       &lt;&lt; "select"
       &lt;&lt; "case"
       &lt;&lt; "defer"
       &lt;&lt; "go"
       &lt;&lt; "map"
       &lt;&lt; "struct"
       &lt;&lt; "chan"
       &lt;&lt; "else"
       &lt;&lt; "goto"
       &lt;&lt; "package"
       &lt;&lt; "switch"
       &lt;&lt; "const"
       &lt;&lt; "fallthrough"
       &lt;&lt; "if"
       &lt;&lt; "range"
       &lt;&lt; "type"
       &lt;&lt; "continue"
       &lt;&lt; "for"
       &lt;&lt; "import"
       &lt;&lt; "return"
       &lt;&lt; "var";
       return new QStringListModel(words, completer);
   }
  </code></pre>
  
  <p>The strange thing is when I type "fal" I'm waiting for "fallthrough" pop out, but I see nothing. It can work with "break" and some but not all words.<br>
  I'm using Kubuntu 12.04 and my partner with Ubuntu 12.04 get this behavior.<br>
  Qt Creator 2.4.1<br>
  Based on Qt 4.8.0 (32 bit)  </p>