Skip to content
GitLab
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
6d6cd007
Commit
6d6cd007
authored
Nov 18, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix designer crash with Kdenlive widgets
parent
5b5fdfbc
Pipeline
#269955
passed with stage
in 6 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/markercategorychooser.cpp
View file @
6d6cd007
...
...
@@ -14,15 +14,16 @@ MarkerCategoryChooser::MarkerCategoryChooser(QWidget *parent)
,
m_allowAll
(
true
)
,
m_onlyUsed
(
false
)
{
if
(
pCore
)
{
refresh
();
}
refresh
();
connect
(
this
,
&
MarkerCategoryChooser
::
changed
,
this
,
&
MarkerCategoryChooser
::
refresh
);
}
void
MarkerCategoryChooser
::
refresh
()
{
clear
();
if
(
pCore
==
nullptr
)
{
return
;
}
// Set up guide categories
QPixmap
pixmap
(
32
,
32
);
QMapIterator
<
int
,
Core
::
MarkerCategory
>
i
(
pCore
->
markerTypes
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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