Commit f25082fb authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Adding jpeg extensions to handled image files.

parent 93fbf286
......@@ -36,7 +36,7 @@ FileBrowser::FileBrowser( QWidget* parent ) : QWidget( parent )
QStringList filters;
filters << "*.mp3" << "*.oga" << "*.flac" << "*.aac" << "*.wav";
filters << "*.mov" << "*.avi" << "*.mkv" << "*.mpg" << "*.mpeg" << "*.wmv" << "*.mp4";
filters << "*.gif" << "*.png" << "*.jpg";
filters << "*.gif" << "*.png" << "*.jpg" << "*.jpeg";
m_FilesModel->setFilter( QDir::AllDirs | QDir::Files | QDir::Readable | QDir::NoDotAndDotDot );
m_FilesModel->sort( 2, Qt::AscendingOrder );
......
......@@ -31,7 +31,7 @@
QPixmap* Media::defaultSnapshot = NULL;
const QString Media::VideoExtensions = "*.mov *.avi *.mkv *.mpg *.mpeg *.wmv *.mp4";
const QString Media::ImageExtensions = "*.gif *.png *.jpg";
const QString Media::ImageExtensions = "*.gif *.png *.jpg *.jpeg";
const QString Media::AudioExtensions = "*.mp3 *.oga *.flac *.aac *.wav";
const QString Media::streamPrefix = "stream://";
......
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