+ //QTimer::singleShot(300, this, SLOT(slotResetProfiles()));
+}
+
+void MonitorManager::slotResetProfiles()
+{
+ if (m_projectMonitor == NULL || m_clipMonitor == NULL) return;
+ blockSignals(true);
+ QString active = m_activeMonitor ? m_activeMonitor->name() : QString();
+ m_clipMonitor->resetProfile(KdenliveSettings::current_profile());
+ m_projectMonitor->resetProfile(KdenliveSettings::current_profile());
+ if (!active.isEmpty()) activateMonitor(active);
+ blockSignals(false);
+ if (m_activeMonitor) m_activeMonitor->parentWidget()->raise();
+ emit checkColorScopes();
+}
+
+void MonitorManager::slotRefreshCurrentMonitor()
+{
+ if (m_activeMonitor == m_clipMonitor) m_clipMonitor->refreshMonitor();
+ else m_projectMonitor->refreshMonitor();
+}
+
+void MonitorManager::slotUpdateAudioMonitoring()
+{
+ // if(...) added since they are 0x0 when the config wizard is running! --Granjow
+ if (m_clipMonitor) {
+ m_clipMonitor->render->analyseAudio = KdenliveSettings::monitor_audio();
+ }
+ if (m_projectMonitor) {
+ m_projectMonitor->render->analyseAudio = KdenliveSettings::monitor_audio();
+ }