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

Disable zone by default. reset timeline position on new project

parent bd379499
......@@ -95,7 +95,7 @@ KdenliveDoc::KdenliveDoc(const QUrl &url, const QString &projectFolder, QUndoGro
m_documentProperties[QStringLiteral("zoom")] = QLatin1Char('7');
m_documentProperties[QStringLiteral("verticalzoom")] = QLatin1Char('1');
m_documentProperties[QStringLiteral("zonein")] = QLatin1Char('0');
m_documentProperties[QStringLiteral("zoneout")] = QStringLiteral("100");
m_documentProperties[QStringLiteral("zoneout")] = QStringLiteral("-1");
m_documentProperties[QStringLiteral("enableproxy")] = QString::number((int)KdenliveSettings::enableproxy());
m_documentProperties[QStringLiteral("proxyparams")] = KdenliveSettings::proxyparams();
m_documentProperties[QStringLiteral("proxyextension")] = KdenliveSettings::proxyextension();
......
......@@ -209,7 +209,8 @@ void ProjectManager::newFile(bool showProjectSettings, bool force)
pCore->window()->m_timelineArea->addTab(m_trackView, QIcon::fromTheme(QStringLiteral("kdenlive")), doc->description());*/
// END of things to delete
m_project = doc;
updateTimeline();
pCore->monitorManager()->activateMonitor(Kdenlive::ProjectMonitor);
updateTimeline(0);
/*if (!ok) {
// MLT is broken
//pCore->window()->m_timelineArea->setEnabled(false);
......@@ -217,7 +218,6 @@ void ProjectManager::newFile(bool showProjectSettings, bool force)
pCore->window()->slotPreferences(6);
return;
}*/
pCore->monitorManager()->activateMonitor(Kdenlive::ProjectMonitor);
pCore->window()->connectDocument();
bool disabled = m_project->getDocumentProperty(QStringLiteral("disabletimelineeffects")) == QLatin1String("1");
QAction *disableEffects = pCore->window()->actionCollection()->action(QStringLiteral("disable_timeline_effects"));
......
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