Good evening,
I'm writing a code where I call the getExistingDirectory and the directory tree doesn't expand.
This is the code:

Qt Code:
  1. void MainWindow::on_sourceDirBrowseButton_clicked()
  2. {
  3. QString path = QFileDialog::getExistingDirectory(this, tr("Open Directory"),
  4. m_application->userDataDir().path()); // This doesn't expand
  5. if (!path.isEmpty())
  6. {
  7. m_application->setSourceDirPaths(QStringList(path));
  8. }
  9. }
To copy to clipboard, switch view to plain text mode 

I'm working under Windows XP.

Any help is appreciated.

Regards,
Franco