Hi ,
I want to use the QFileDialog to display only the external devices conencted to the linux system.If i use
QFileDialog::getExistingDirectory(this,tr("File list"), QDir::currentPath());
it lists the file system of the computer also. I want to filter it and just show the list of external devices connected to the system like any USB connected should be shown in the dialog.
I tried using setFilter(QDir:rives); also but i read about this that Linux ignores this. So is there any way so that in file dialog i can display ONLY the USB/external devices connected? so that i don't show the entire file system of the computer.