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
be7f27c8
Commit
be7f27c8
authored
Jan 06, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix cleanup regression (disappearing titles)
Fixes
#1296
parent
720ff532
Pipeline
#119706
passed with stage
in 8 minutes and 46 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/titler/graphicsscenerectmove.cpp
View file @
be7f27c8
...
...
@@ -62,7 +62,7 @@ MyTextItem::MyTextItem(const QString &txt, QGraphicsItem *parent)
m_shadowEffect
->
setEnabled
(
false
);
setGraphicsEffect
(
m_shadowEffect
);
updateGeometry
();
connect
(
document
(),
&
QTextDocument
::
contentsChange
,
this
,
[
&
](
int
,
int
,
int
)
{
u
pdateGeometry
();
}
);
connect
(
document
(),
&
QTextDocument
::
contentsChange
,
this
,
&
MyTextItem
::
doU
pdateGeometry
);
updateTW
(
false
,
2
,
1
,
0
,
0
);
}
...
...
@@ -147,7 +147,7 @@ void MyTextItem::refreshFormat()
setTextCursor
(
cursor
);
}
void
MyTextItem
::
u
pdateGeometry
(
int
,
int
,
int
)
void
MyTextItem
::
doU
pdateGeometry
()
{
updateGeometry
();
// update gradient if necessary
...
...
src/titler/graphicsscenerectmove.h
View file @
be7f27c8
...
...
@@ -74,7 +74,7 @@ private:
int
m_tw_seed
;
public
slots
:
void
u
pdateGeometry
(
int
,
int
,
int
);
void
doU
pdateGeometry
();
void
updateGeometry
();
};
...
...
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