Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
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
videolan
vlc-2-2
Commits
22bafc1a
Commit
22bafc1a
authored
Aug 18, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: Fix the [21193] for Qt4.
parent
2feb5a9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+4
-3
modules/gui/qt4/playlist_model.cpp
modules/gui/qt4/playlist_model.cpp
+4
-4
No files found.
modules/gui/qt4/input_manager.cpp
View file @
22bafc1a
...
...
@@ -132,12 +132,13 @@ void InputManager::update()
/* Update text */
QString
text
;
char
*
psz_name
=
input_GetName
(
input_GetItem
(
p_input
)
);
char
*
psz_nowplaying
=
input_item_GetNowPlaying
(
input_GetItem
(
p_input
);
char
*
psz_name
=
input_item_GetName
(
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_nowplaying
)
)
{
text
.
sprintf
(
"%s - %s"
,
psz_now
_
playing
,
psz_name
);
text
.
sprintf
(
"%s - %s"
,
psz_nowplaying
,
psz_name
);
}
else
if
(
!
EMPTY_STR
(
psz_artist
)
)
{
...
...
modules/gui/qt4/playlist_model.cpp
View file @
22bafc1a
...
...
@@ -184,9 +184,9 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
current
=
iscurrent
;
char
*
psz_arturl
=
input_item_GetArtURL
(
p_item
->
p_input
);
if
(
current
&&
psz_arturl
)
&&
if
(
(
current
&&
psz_arturl
)
&&
!
strncmp
(
psz_arturl
,
"file://"
,
7
)
)
model
->
sendArt
(
qfu
(
psz_arturl
)
)
)
;
model
->
sendArt
(
qfu
(
psz_arturl
)
)
;
else
if
(
current
)
model
->
removeArt
();
free
(
psz_arturl
);
...
...
@@ -215,8 +215,8 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
ADD_META
(
p_item
,
Artist
);
break
;
case
VLC_META_ENGINE_TITLE
:
char
*
psz_title
;
psz_title
=
input_item_GetTile
(
p_item
->
p_input
);
char
*
psz_title
,
*
psz_name
;
psz_title
=
input_item_GetTi
t
le
(
p_item
->
p_input
);
psz_name
=
input_item_GetName
(
p_item
->
p_input
);
if
(
psz_title
)
{
...
...
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