Hi,

a very quick question,
I am trying to open/filter files with QFileDialog::getOpenFileName which have no extension. Something like document1, document2, etc
My code works so far for .txt and All Files


Qt Code:
  1. QString fileName = QFileDialog::getOpenFileName( this, tr("Open HST xy-list(flux vs wave) file..."), sWDir, tr("HST ASCII File (*.txt);;All files (*.*)"), 0, QFileDialog::DontUseNativeDialog );
To copy to clipboard, switch view to plain text mode