Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
74ec2459
Commit
74ec2459
authored
Aug 20, 2007
by
Ilkka Ollakka
Browse files
use GetName only if GetTitle returns emptry string for meta
parent
d33c7cb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/input_manager.cpp
View file @
74ec2459
...
...
@@ -132,10 +132,14 @@ void InputManager::update()
/* Update text */
QString
text
;
char
*
psz_name
=
input_item_Get
Nam
e
(
input_GetItem
(
p_input
)
);
char
*
psz_name
=
input_item_Get
Titl
e
(
input_GetItem
(
p_input
)
);
char
*
psz_nowplaying
=
input_item_GetNowPlaying
(
input_GetItem
(
p_input
)
);
char
*
psz_artist
=
input_item_GetArtist
(
input_GetItem
(
p_input
)
);
if
(
EMPTY_STR
(
psz_name
)
)
{
psz_name
=
input_item_GetName
(
input_GetItem
(
p_input
)
);
}
if
(
!
EMPTY_STR
(
psz_nowplaying
)
)
{
text
.
sprintf
(
"%s - %s"
,
psz_nowplaying
,
psz_name
);
...
...
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