Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
7ee78f5f
Commit
7ee78f5f
authored
May 26, 2018
by
Jean-Baptiste Mardelle
Browse files
Disable zone by default. reset timeline position on new project
parent
bd379499
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/doc/kdenlivedoc.cpp
View file @
7ee78f5f
...
...
@@ -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
(
"1
00
"
);
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
();
...
...
src/project/projectmanager.cpp
View file @
7ee78f5f
...
...
@@ -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"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment