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
d6305102
Commit
d6305102
authored
Nov 12, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused iconv handle
parent
ee5cf38b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
modules/gui/skins2/vars/playtree.cpp
modules/gui/skins2/vars/playtree.cpp
+0
-13
modules/gui/skins2/vars/playtree.hpp
modules/gui/skins2/vars/playtree.hpp
+0
-2
No files found.
modules/gui/skins2/vars/playtree.cpp
View file @
d6305102
...
@@ -37,24 +37,11 @@ Playtree::Playtree( intf_thread_t *pIntf ): VarTree( pIntf )
...
@@ -37,24 +37,11 @@ Playtree::Playtree( intf_thread_t *pIntf ): VarTree( pIntf )
i_items_to_append
=
0
;
i_items_to_append
=
0
;
// Try to guess the current charset
char
*
pCharset
;
vlc_current_charset
(
&
pCharset
);
iconvHandle
=
vlc_iconv_open
(
"UTF-8"
,
pCharset
);
msg_Dbg
(
pIntf
,
"using character encoding: %s"
,
pCharset
);
free
(
pCharset
);
if
(
iconvHandle
==
(
vlc_iconv_t
)
-
1
)
{
msg_Warn
(
pIntf
,
"unable to do requested conversion"
);
}
buildTree
();
buildTree
();
}
}
Playtree
::~
Playtree
()
Playtree
::~
Playtree
()
{
{
if
(
iconvHandle
!=
(
vlc_iconv_t
)
-
1
)
vlc_iconv_close
(
iconvHandle
);
}
}
void
Playtree
::
delSelected
()
void
Playtree
::
delSelected
()
...
...
modules/gui/skins2/vars/playtree.hpp
View file @
d6305102
...
@@ -58,8 +58,6 @@ class Playtree: public VarTree
...
@@ -58,8 +58,6 @@ class Playtree: public VarTree
private:
private:
/// VLC playlist object
/// VLC playlist object
playlist_t
*
m_pPlaylist
;
playlist_t
*
m_pPlaylist
;
/// Iconv handle
vlc_iconv_t
iconvHandle
;
/// Build the list from the VLC playlist
/// Build the list from the VLC playlist
void
buildTree
();
void
buildTree
();
...
...
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