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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
Farid Abdelnour
kdenlive
Commits
614bbd2b
Commit
614bbd2b
authored
Jul 23, 2012
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slotInsertSpace: use QPointer [krazy 11/37] by Mikko Rapeli
parent
a193349f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
src/customtrackview.cpp
src/customtrackview.cpp
+9
-4
No files found.
src/customtrackview.cpp
View file @
614bbd2b
...
...
@@ -3183,10 +3183,15 @@ void CustomTrackView::slotInsertSpace()
pos
=
GenTime
((
int
)(
mapToScene
(
m_menuPosition
).
x
()),
m_document
->
fps
());
track
=
(
int
)(
mapToScene
(
m_menuPosition
).
y
()
/
m_tracksHeight
)
+
1
;
}
SpacerDialog
d
(
GenTime
(
65
,
m_document
->
fps
()),
m_document
->
timecode
(),
track
,
m_document
->
tracksList
(),
this
);
if
(
d
.
exec
()
!=
QDialog
::
Accepted
)
return
;
GenTime
spaceDuration
=
d
.
selectedDuration
();
track
=
d
.
selectedTrack
();
QPointer
<
SpacerDialog
>
d
=
new
SpacerDialog
(
GenTime
(
65
,
m_document
->
fps
()),
m_document
->
timecode
(),
track
,
m_document
->
tracksList
(),
this
);
if
(
d
->
exec
()
!=
QDialog
::
Accepted
)
{
delete
d
;
return
;
}
GenTime
spaceDuration
=
d
->
selectedDuration
();
track
=
d
->
selectedTrack
();
delete
d
;
QList
<
QGraphicsItem
*>
items
;
if
(
track
>=
0
)
{
...
...
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