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
db369de9
Commit
db369de9
authored
Oct 22, 2022
by
Julius Künzel
💬
Browse files
Fix compiler warning and warning in with QtDesigner plugin
parent
2bc680a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core.cpp
View file @
db369de9
...
...
@@ -779,10 +779,7 @@ KdenliveDoc *Core::currentDoc()
Timecode
Core
::
timecode
()
const
{
if
(
this
)
{
return
m_timecode
;
}
return
Timecode
();
return
m_timecode
;
}
void
Core
::
setDocumentModified
()
...
...
src/widgets/timecodedisplay.cpp
View file @
db369de9
...
...
@@ -34,9 +34,9 @@ QValidator::State TimecodeValidator::validate(QString &str, int &) const
}
TimecodeDisplay
::
TimecodeDisplay
(
QWidget
*
parent
,
bool
autoAdjust
)
:
TimecodeDisplay
(
parent
,
autoAdjust
?
pCore
->
timecode
()
:
Timecode
())
:
TimecodeDisplay
(
parent
,
(
pCore
&&
autoAdjust
)
?
pCore
->
timecode
()
:
Timecode
())
{
if
(
autoAdjust
)
{
if
(
pCore
&&
autoAdjust
)
{
connect
(
pCore
.
get
(),
&
Core
::
updateProjectTimecode
,
this
,
&
TimecodeDisplay
::
refreshTimeCode
);
}
}
...
...
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