]> git.sesse.net Git - kdenlive/commitdiff
Remove unnecessary delay before track header update
authorTill Theato <root@ttill.de>
Sun, 10 Oct 2010 08:45:58 +0000 (08:45 +0000)
committerTill Theato <root@ttill.de>
Sun, 10 Oct 2010 08:45:58 +0000 (08:45 +0000)
svn path=/trunk/kdenlive/; revision=4975

src/customtrackview.cpp

index 01038de29843ffa8b9586ed2c16c7a0a0394b939..bc10df9c101d7e9157f4e7025dbe5c698199dba6 100644 (file)
@@ -2669,8 +2669,8 @@ void CustomTrackView::configTracks(QList < TrackInfo > trackInfos)
         lockTrack(m_document->tracksCount() - i - 1, m_document->trackInfoAt(i).isLocked, false);
     }
 
-    QTimer::singleShot(300, this, SIGNAL(trackHeightChanged()));
     viewport()->update();
+    emit trackHeightChanged();
 }
 
 void CustomTrackView::slotSwitchTrackAudio(int ix)