Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
adc268b1
Commit
adc268b1
authored
Jan 15, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly displays album art in playlist, fix by ILEoo
parent
aaf50f16
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-10
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+2
-2
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
adc268b1
...
...
@@ -171,18 +171,9 @@ void BackgroundWidget::update( QString url )
label
->
setPixmap
(
QPixmap
(
":/vlc128.png"
)
);
return
;
}
QString
arturl
=
url
.
replace
(
"file://"
,
QString
(
""
)
);
if
(
arturl
.
isNull
()
)
{
if
(
QDate
::
currentDate
().
dayOfYear
()
>=
354
)
label
->
setPixmap
(
QPixmap
(
":/vlc128-christmas.png"
)
);
else
label
->
setPixmap
(
QPixmap
(
":/vlc128.png"
)
);
}
else
{
label
->
setPixmap
(
QPixmap
(
art
url
)
);
label
->
setPixmap
(
QPixmap
(
url
)
);
msg_Dbg
(
p_intf
,
"changing input b_need_update done "
);
}
}
...
...
modules/gui/qt4/input_manager.cpp
View file @
adc268b1
...
...
@@ -191,8 +191,8 @@ void InputManager::update()
free
(
psz_art
);
if
(
artUrl
!=
url
)
{
emit
artChanged
(
url
);
artUrl
=
url
;
artUrl
=
url
.
replace
(
"file://"
,
QString
(
""
)
);
emit
artChanged
(
artUrl
)
;
}
}
...
...
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