Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
7c69beac
Commit
7c69beac
authored
Jan 08, 2008
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused artSet signal in playlist_model (changed to input-manager
signaling)
parent
56fbf5f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
modules/gui/qt4/playlist_model.cpp
modules/gui/qt4/playlist_model.cpp
+0
-19
modules/gui/qt4/playlist_model.hpp
modules/gui/qt4/playlist_model.hpp
+0
-4
No files found.
modules/gui/qt4/playlist_model.cpp
View file @
7c69beac
...
...
@@ -173,14 +173,6 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
type
=
p_item
->
p_input
->
i_type
;
current
=
iscurrent
;
char
*
psz_arturl
=
input_item_GetArtURL
(
p_item
->
p_input
);
if
(
(
current
&&
psz_arturl
)
&&
!
strncmp
(
psz_arturl
,
"file://"
,
7
)
)
model
->
sendArt
(
qfu
(
psz_arturl
)
)
;
else
if
(
current
)
model
->
removeArt
();
free
(
psz_arturl
);
strings
.
clear
();
if
(
model
->
i_depth
==
1
)
//left window for playlist etc.
...
...
@@ -827,17 +819,6 @@ void PLModel::UpdateTreeItem( playlist_item_t *p_item, PLItem *item,
/************************* Actions ******************************/
void
PLModel
::
sendArt
(
QString
url
)
{
QString
arturl
=
url
.
replace
(
"file://"
,
QString
(
""
)
);
emit
artSet
(
arturl
);
}
void
PLModel
::
removeArt
()
{
emit
artSet
(
QString
()
);
}
/**
* Deletion, here we have to do a ugly slow hack as we retrieve the full
* list of indexes to delete at once: when we delete a node and all of
...
...
modules/gui/qt4/playlist_model.hpp
View file @
7c69beac
...
...
@@ -139,9 +139,6 @@ public:
int
row
,
int
column
,
const
QModelIndex
&
target
);
QStringList
mimeTypes
()
const
;
void
sendArt
(
QString
url
);
void
removeArt
(
);
int
shownFlags
()
{
return
rootItem
->
i_showflags
;
}
private:
void
addCallbacks
();
...
...
@@ -184,7 +181,6 @@ private:
int
i_cached_id
;
int
i_cached_input_id
;
signals:
void
artSet
(
QString
);
void
shouldRemove
(
int
);
public
slots
:
void
activateItem
(
const
QModelIndex
&
index
);
...
...
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