Well, my problem is I only want to see the directories that are writeable and save the path of the selected one in a QString


I have the next code but I dont know how to apply exactly the filter.

Qt Code:
  1. QString directoryName = QFileDialog::getExistingDirectory(
  2. this,tr("Select directory"),
  3. "/home/"
  4. "QDir::Writable");
To copy to clipboard, switch view to plain text mode