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
b2e22d62
Commit
b2e22d62
authored
Apr 16, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix bin tooltip for color clips (remove path)
parent
eab8d6cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
b2e22d62
...
...
@@ -179,7 +179,10 @@ void ProjectClip::connectEffectStack()
QString
ProjectClip
::
getToolTip
()
const
{
return
url
();
if
(
m_clipType
==
ClipType
::
Color
&&
m_path
.
contains
(
QLatin1Char
(
'/'
)))
{
return
m_path
.
section
(
QLatin1Char
(
'/'
),
-
1
);
}
return
m_path
;
}
QString
ProjectClip
::
getXmlProperty
(
const
QDomElement
&
producer
,
const
QString
&
propertyName
,
const
QString
&
defaultValue
)
...
...
@@ -297,8 +300,7 @@ GenTime ProjectClip::duration() const
size_t
ProjectClip
::
frameDuration
()
const
{
GenTime
d
=
duration
();
return
(
size_t
)
d
.
frames
(
pCore
->
getCurrentFps
());
return
(
size_t
)
getFramePlaytime
();
}
void
ProjectClip
::
reloadProducer
(
bool
refreshOnly
,
bool
audioStreamChanged
,
bool
reloadAudio
)
...
...
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