Commit dc67fdeb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Small fix on the filters for simpleOpenFile

parent 1783d8f0
...@@ -186,16 +186,16 @@ void DialogsProvider::simpleOpenDialog() ...@@ -186,16 +186,16 @@ void DialogsProvider::simpleOpenDialog()
} }
QString FileTypes; QString FileTypes;
FileTypes = "Sound Files ( "; FileTypes = "Video Files ( ";
FileTypes += EXTENSIONS_AUDIO;
FileTypes += ");; Video Files ( ";
FileTypes += EXTENSIONS_VIDEO; FileTypes += EXTENSIONS_VIDEO;
FileTypes += ");; Sound Files ( ";
FileTypes += EXTENSIONS_AUDIO;
FileTypes += ");; PlayList Files ( "; FileTypes += ");; PlayList Files ( ";
FileTypes += EXTENSIONS_PLAYLIST; FileTypes += EXTENSIONS_PLAYLIST;
FileTypes += ");; Subtitles Files ( "; FileTypes += ");; Subtitles Files ( ";
FileTypes += EXTENSIONS_SUBTITLE; FileTypes += EXTENSIONS_SUBTITLE;
FileTypes += ");; All Files (*.*) " ; FileTypes += ");; All Files (*.*) " ;
FileTypes.replace(QString(";*"), QString(", *")); FileTypes.replace(QString(";*"), QString(" *"));
QStringList fileList = QFileDialog::getOpenFileNames( QStringList fileList = QFileDialog::getOpenFileNames(
NULL, NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment