]> git.sesse.net Git - kdenlive/commitdiff
Try to fix crash when hovering transition:
authorTill Theato <root@ttill.de>
Sun, 20 Feb 2011 16:16:02 +0000 (16:16 +0000)
committerTill Theato <root@ttill.de>
Sun, 20 Feb 2011 16:16:02 +0000 (16:16 +0000)
http://kdenlive.org/mantis/view.php?id=2034

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

src/customtrackview.cpp

index e52731ac632a19837466183596fa63b37f056836..c3bc7a638f6960f32007727cd0c19c00950f8d52 100644 (file)
@@ -595,7 +595,7 @@ void CustomTrackView::mouseMoveEvent(QMouseEvent * event)
         }
         m_moveOpMode = opMode;
         setTipAnimation(clip, opMode, size);
-        ClipItem *ci;
+        ClipItem *ci = NULL;
         if (item->type() == AVWIDGET)
             ci = static_cast <ClipItem *>(item);
         QString message;