Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7810e789
Commit
7810e789
authored
Sep 23, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't spit too much debug
parent
37f05a79
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+6
-2
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+1
-0
modules/gui/qt4/playlist_model.cpp
modules/gui/qt4/playlist_model.cpp
+0
-4
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
7810e789
...
...
@@ -316,8 +316,12 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_intf ) :
void
PlaylistWidget
::
setArt
(
QString
url
)
{
fprintf
(
stderr
,
"************** YEAH ! *************
\n
"
);
art
->
setPixmap
(
QPixmap
(
url
)
);
if
(
prevArt
!=
url
)
{
fprintf
(
stderr
,
"Display %s
\n
"
,
qta
(
url
)
);
art
->
setPixmap
(
QPixmap
(
url
)
);
prevArt
=
url
;
}
}
PlaylistWidget
::~
PlaylistWidget
()
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
7810e789
...
...
@@ -137,6 +137,7 @@ private:
PLPanel
*
rightPanel
;
QPushButton
*
addButton
;
QLabel
*
art
;
QString
prevArt
;
private
slots
:
void
setArt
(
QString
);
signals:
...
...
modules/gui/qt4/playlist_model.cpp
View file @
7810e789
...
...
@@ -132,13 +132,10 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
strings
[
2
]
=
QString
(
psz_duration
);
type
=
p_item
->
p_input
->
i_type
;
current
=
iscurrent
;
fprintf
(
stderr
,
"Updating current %i
\n
"
);
fprintf
(
stderr
,
"Meta %p art %s
\n
"
,
p_item
->
p_input
->
p_meta
,
p_item
->
p_input
->
p_meta
?
p_item
->
p_input
->
p_meta
->
psz_arturl
:
"non"
);
if
(
current
&&
p_item
->
p_input
->
p_meta
&&
p_item
->
p_input
->
p_meta
->
psz_arturl
&&
!
strncmp
(
p_item
->
p_input
->
p_meta
->
psz_arturl
,
"file://"
,
7
)
)
{
fprintf
(
stderr
,
"Have art %s
\n
"
,
p_item
->
p_input
->
p_meta
->
psz_arturl
);
model
->
sendArt
(
qfu
(
p_item
->
p_input
->
p_meta
->
psz_arturl
)
);
}
}
...
...
@@ -605,7 +602,6 @@ void PLModel::UpdateTreeItem( playlist_item_t *p_item, PLItem *item,
void
PLModel
::
sendArt
(
QString
url
)
{
QString
arturl
=
url
.
replace
(
"file://"
,
QString
(
""
)
);
fprintf
(
stderr
,
"send %s
\n
"
,
qta
(
arturl
)
);
emit
artSet
(
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