Adding support of image format *.pnm

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@292 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2011-06-30 02:51:37 +00:00
parent ceee3ee687
commit 708d243d96
2 changed files with 2 additions and 2 deletions

View File

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