]> git.sesse.net Git - kdenlive/commitdiff
Do not show project profile mismatch dialog on still images
authorDan Dennedy <dan@dennedy.org>
Fri, 29 Oct 2010 03:41:25 +0000 (03:41 +0000)
committerDan Dennedy <dan@dennedy.org>
Fri, 29 Oct 2010 03:41:25 +0000 (03:41 +0000)
(or anything with no fps info).

svn path=/trunk/kdenlive/; revision=5058

src/projectlist.cpp

index f5efe1f4dd75c1615a4d28ea69ee50e37d93ff50..d976d1ced8c3493dfae8ba1cae09caf6970e4d00 100644 (file)
@@ -1560,7 +1560,9 @@ bool ProjectList::adjustProjectProfileToItem(ProjectItem *item)
                 }
                 delete list;
                 delete label;
-            } else KMessageBox::information(kapp->activeWindow(), i18n("Your clip does not match current project's profile.\nNo existing profile found to match the clip's properties.\nClip size: %1\nFps: %2\n", size, fps));
+            } else if (fps > 0) {
+                KMessageBox::information(kapp->activeWindow(), i18n("Your clip does not match current project's profile.\nNo existing profile found to match the clip's properties.\nClip size: %1\nFps: %2\n", size, fps));
+            }
         }
     }
     return profileUpdated;