Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Farid Abdelnour
kdenlive
Commits
ec4afadc
Commit
ec4afadc
authored
Jul 23, 2012
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kdenlivedoc.cpp: Use QPointer [krazy 35/37] by Mikko Rapeli
parent
85bd7bd9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/kdenlivedoc.cpp
src/kdenlivedoc.cpp
+1
-1
No files found.
src/kdenlivedoc.cpp
View file @
ec4afadc
...
...
@@ -1266,7 +1266,7 @@ void KdenliveDoc::slotCreateTextClip(QString group, const QString &groupId, cons
{
QString
titlesFolder
=
projectFolder
().
path
(
KUrl
::
AddTrailingSlash
)
+
"titles/"
;
KStandardDirs
::
makeDir
(
titlesFolder
);
TitleWidget
*
dia_ui
=
new
TitleWidget
(
templatePath
,
m_timecode
,
titlesFolder
,
m_render
,
kapp
->
activeWindow
());
QPointer
<
TitleWidget
>
dia_ui
=
new
TitleWidget
(
templatePath
,
m_timecode
,
titlesFolder
,
m_render
,
kapp
->
activeWindow
());
if
(
dia_ui
->
exec
()
==
QDialog
::
Accepted
)
{
m_clipManager
->
slotAddTextClipFile
(
i18n
(
"Title clip"
),
dia_ui
->
outPoint
(),
dia_ui
->
xml
().
toString
(),
group
,
groupId
);
setModified
(
true
);
...
...
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