Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b4973c81 authored by Jason Wood's avatar Jason Wood

Added sanity check on mouse presses.

svn path=/trunk/kdenlive/; revision=323
parent a136df19
......@@ -85,6 +85,10 @@ void KMMTimeLineTrackView::drawBackBuffer()
void KMMTimeLineTrackView::mousePressEvent(QMouseEvent *event)
{
KMMTrackPanel *panel = panelAt(event->y());
if(m_panelUnderMouse != 0)
{
kdWarning() << "Error - mouse Press Event with panel already under mouse" << endl;
}
if(panel) {
if(event->button() == LeftButton) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment