]> git.sesse.net Git - kdenlive/commitdiff
Fix monitor timecode not visible with some window decorations:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 8 Feb 2013 17:06:18 +0000 (18:06 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 8 Feb 2013 17:06:18 +0000 (18:06 +0100)
http://kdenlive.org/mantis/view.php?id=2979

src/monitor.cpp

index fdaf02dc51e7e011b62f77414df581945434d3f6..9b118b273d992a44e5118c5e3884661dad436a93 100644 (file)
@@ -206,7 +206,7 @@ Monitor::Monitor(Kdenlive::MONITORID id, MonitorManager *manager, QString profil
     m_timePos = new TimecodeDisplay(m_monitorManager->timecode(), this);
     m_toolbar->addWidget(m_timePos);
     connect(m_timePos, SIGNAL(timeCodeEditingFinished()), this, SLOT(slotSeek()));
-    m_toolbar->setMaximumHeight(s * 1.5);
+    m_toolbar->setMaximumHeight(m_timePos->height());
     layout->addWidget(m_toolbar);
 }