I have been using two of the static functions, QFileDialog::getOpenFileName and QFileDialog::getSaveFileName
I have been using two of the static functions, QFileDialog::getOpenFileName and QFileDialog::getSaveFileName
Still no luck fixing this error:
I replaced my the static function QFileDialog::getOpenFileName with the following code, and I got the same response:
Qt Code:
fileDialog.setNameFilter(tr("Script Files (*.py)")); QStringList fileNames; if (fileDialog.exec()) fileNames = fileDialog.selectedFiles();To copy to clipboard, switch view to plain text mode
Bookmarks