Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
261
Issues
261
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Multimedia
Kdenlive
Commits
07c0f30a
Commit
07c0f30a
authored
Jun 01, 2013
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Const'ref. comment unused variable
parent
f223c83a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
src/kdenlivedoc.cpp
src/kdenlivedoc.cpp
+2
-2
src/kdenlivedoc.h
src/kdenlivedoc.h
+1
-1
src/profilesdialog.cpp
src/profilesdialog.cpp
+2
-1
No files found.
src/kdenlivedoc.cpp
View file @
07c0f30a
...
...
@@ -443,7 +443,7 @@ QDomDocument KdenliveDoc::createEmptyDocument(int videotracks, int audiotracks)
return
createEmptyDocument
(
m_tracksList
);
}
QDomDocument
KdenliveDoc
::
createEmptyDocument
(
QList
<
TrackInfo
>
tracks
)
QDomDocument
KdenliveDoc
::
createEmptyDocument
(
const
QList
<
TrackInfo
>
&
tracks
)
{
// Creating new document
QDomDocument
doc
;
...
...
@@ -500,7 +500,7 @@ QDomDocument KdenliveDoc::createEmptyDocument(QList <TrackInfo> tracks)
QDomElement
tractor
=
doc
.
createElement
(
"tractor"
);
tractor
.
setAttribute
(
"id"
,
"maintractor"
);
QDomElement
multitrack
=
doc
.
createElement
(
"multitrack"
);
//
QDomElement multitrack = doc.createElement("multitrack");
QDomElement
playlist
=
doc
.
createElement
(
"playlist"
);
playlist
.
setAttribute
(
"id"
,
"black_track"
);
mlt
.
appendChild
(
playlist
);
...
...
src/kdenlivedoc.h
View file @
07c0f30a
...
...
@@ -201,7 +201,7 @@ private:
/** @brief Creates a new project. */
QDomDocument
createEmptyDocument
(
int
videotracks
,
int
audiotracks
);
QDomDocument
createEmptyDocument
(
QList
<
TrackInfo
>
tracks
);
QDomDocument
createEmptyDocument
(
const
QList
<
TrackInfo
>
&
tracks
);
/** @brief Saves effects embedded in project file.
* @return True if effects were imported. */
bool
saveCustomEffects
(
const
QDomNodeList
&
customeffects
);
...
...
src/profilesdialog.cpp
View file @
07c0f30a
...
...
@@ -571,7 +571,8 @@ void ProfilesDialog::slotUpdateDisplay(QString currentProfile)
}
QLocale
locale
;
m_selectedProfileIndex
=
m_view
.
profiles_list
->
currentIndex
();
if
(
currentProfile
.
isEmpty
())
currentProfile
=
m_view
.
profiles_list
->
itemData
(
m_view
.
profiles_list
->
currentIndex
()).
toString
();
if
(
currentProfile
.
isEmpty
())
currentProfile
=
m_view
.
profiles_list
->
itemData
(
m_view
.
profiles_list
->
currentIndex
()).
toString
();
m_isCustomProfile
=
currentProfile
.
contains
(
'/'
);
m_view
.
button_create
->
setEnabled
(
true
);
m_view
.
button_delete
->
setEnabled
(
m_isCustomProfile
);
...
...
Write
Preview
Markdown
is supported
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