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
252
Issues
252
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
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
94b1b432
Commit
94b1b432
authored
May 19, 2017
by
Vincent Pinon
Committed by
Vincent Pinon
May 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash changing title font for 2nd time
BUG: 379606
parent
8f788c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
src/titler/titlewidget.cpp
src/titler/titlewidget.cpp
+0
-14
No files found.
src/titler/titlewidget.cpp
View file @
94b1b432
...
...
@@ -169,8 +169,6 @@ TitleWidget::TitleWidget(const QUrl &url, const Timecode &tc, const QString &pro
connect
(
textOutline
,
SIGNAL
(
valueChanged
(
int
)),
this
,
SLOT
(
slotUpdateText
()));
connect
(
font_weight_box
,
SIGNAL
(
currentIndexChanged
(
int
)),
this
,
SLOT
(
slotUpdateText
()));
connect
(
font_family
,
&
QComboBox
::
editTextChanged
,
this
,
&
TitleWidget
::
slotFontText
);
connect
(
rectFColor
,
&
KColorButton
::
changed
,
this
,
&
TitleWidget
::
rectChanged
);
connect
(
rectBColor
,
&
KColorButton
::
changed
,
this
,
&
TitleWidget
::
rectChanged
);
connect
(
plain_rect
,
&
QAbstractButton
::
clicked
,
this
,
&
TitleWidget
::
rectChanged
);
...
...
@@ -2350,18 +2348,6 @@ void TitleWidget::slotAddEffect(int /*ix*/)
}*/
}
void
TitleWidget
::
slotFontText
(
const
QString
&
s
)
{
const
QFont
f
(
s
);
if
(
f
.
exactMatch
())
{
// Font really exists (could also just be a «d» if the user
// starts typing «dejavu» for example).
font_family
->
setCurrentFont
(
f
);
}
// Note: Typing dejavu serif does not recognize the font (takes sans)
// in older Qt versions. Case must match there (except for first letter)
}
void
TitleWidget
::
slotEditTypewriter
(
int
/*ix*/
)
{
QList
<
QGraphicsItem
*>
l
=
graphicsView
->
scene
()
->
selectedItems
();
...
...
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