I got a problem to use the QTextEdit with append function.
Qt Code:
  1. MainWindow::ui->textDumpMessage->append("Before the QStringList fileList line");
  2. QStringList fileList = QFileDialog::getOpenFileNames(this, tr("Open CSV"), QDir::currentPath(), tr("CSV File *.csv"));
  3. if (fileList.isEmpty())
  4. {
  5. return false;
  6. }
  7. MainWindow::ui->textDumpMessage->append("After the QStringList fileList line");
  8. qDebug() << "Load csv";
To copy to clipboard, switch view to plain text mode 

the QTextEdit can show first append text but fail to get the second append text. I doubt the problem is on QStringList or QFileDialog. Does any body encounter the same issue?

I use QT 4.7.2 with mingw32 on windows XP.