title: Display the text according to QTextedit
body: <p>in this <a href="https://stackoverflow.com/questions/2442473/split-text-by-whitespaces">question</a> i asked how to split text by whitespace, now i split it, but now i can't display this text in QTextEdit.
  I make so:</p>
  
  <pre><code>  QStringList list = line.split(QRegExp("\\s+"));
  
    for (int i = 0; i &lt; list.count(); i++){
        table.push_back(list[i]);
  
        this-&gt;ui-&gt;textEdit-&gt;setText(table[i]); //output text in qtextedit
    }
  </code></pre>
  
  <p>But i see clean textedit after that. But if i make for example:</p>
  
  <pre><code>this-&gt;ui-&gt;textEdit-&gt;setText(table[2]);
  </code></pre>
  
  <p>I see third word in QTextEdit. What's wrong?</p>
  
  <p>Thank you.</p>