]> git.sesse.net Git - kdenlive/commitdiff
Fix check on whether we want to suggest changing the project profile.
authorTill Theato <root@ttill.de>
Sun, 19 Sep 2010 17:35:45 +0000 (17:35 +0000)
committerTill Theato <root@ttill.de>
Sun, 19 Sep 2010 17:35:45 +0000 (17:35 +0000)
svn path=/trunk/kdenlive/; revision=4909

src/projectlist.cpp

index f2b8e9af7061181012928efe292bf4394af57897..a56e2d95696db4b6cb3dbd888f417e9581d58e78 100644 (file)
@@ -1481,7 +1481,7 @@ void ProjectList::slotReplyGetFileProperties(const QString &clipId, Mlt::Produce
             int width = properties.value("frame_size").section('x', 0, 0).toInt();
             int height = properties.value("frame_size").section('x', -1).toInt();
             double fps = properties.value("fps").toDouble();
-            if(width != m_doc->width() || height != m_doc->width() || qAbs(fps - m_doc->fps()) > 0.5) {
+            if(width != m_doc->width() || height != m_doc->height() || qAbs(fps - m_doc->fps()) > 0.5) {
                 QString suggestedProfile = ProfilesDialog::getPathFromProperties(width, height, fps);
                 if(!suggestedProfile.isEmpty()) {
                     QString description = ProfilesDialog::getSettingsFromFile(suggestedProfile).value("description");