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

Adding jpeg extensions to handled image files.

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