Added tiff as image type supported, fixed a crash on Mac OS X Maverick when showing the GraphView

This commit is contained in:
matlabbe
2015-01-06 10:53:43 -05:00
parent 4c2dad453d
commit a979216fc1
4 changed files with 16 additions and 6 deletions

View File

@@ -1747,7 +1747,7 @@ void PreferencesDialog::selectSourceImage(Src src)
if(!path.isEmpty() && dir.exists())
{
QStringList filters;
filters << "*.jpg" << "*.ppm" << "*.bmp" << "*.png" << "*.pnm";
filters << "*.jpg" << "*.ppm" << "*.bmp" << "*.png" << "*.pnm" << "*.tiff";
dir.setNameFilters(filters);
QFileInfoList files = dir.entryInfoList();
if(!files.empty())