/[projects]/infoscreen/MainView.cpp
ViewVC logotype

Diff of /infoscreen/MainView.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 707 by torben, Wed Apr 7 17:00:07 2010 UTC revision 708 by torben, Wed May 5 08:43:40 2010 UTC
# Line 161  void MainView::readLocalFiles() Line 161  void MainView::readLocalFiles()
161          item.module = ModuleUnknown;          item.module = ModuleUnknown;
162    
163          QString ext = file.suffix().toLower();          QString ext = file.suffix().toLower();
164          if (ext == "avi") {          if (ext == "avi" || ext == "mpg" || ext == "mpeg") {
165              item.module = ModuleVideo;              item.module = ModuleVideo;
166              item.runtime = 1;              item.runtime = 1;
167          }          }
168    
169          if (ext == "jpg" || ext == "jpeg") {          if (ext == "jpg" || ext == "jpeg" || ext == "png" ) {
170              item.module = ModuleImage;              item.module = ModuleImage;
171              item.runtime = 10;              item.runtime = 10;
172          }          }

Legend:
Removed from v.707  
changed lines
  Added in v.708

  ViewVC Help
Powered by ViewVC 1.1.20