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
998afc0b
Commit
998afc0b
authored
Nov 09, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: hide SQL media library when not compiled in
parent
e19d5f53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+4
-0
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
998afc0b
...
...
@@ -194,8 +194,10 @@ void PLSelector::createItems()
THEPL
->
p_media_library
);
ml
->
treeItem
()
->
setData
(
0
,
SPECIAL_ROLE
,
QVariant
(
IS_ML
)
);
#ifdef MEDIA_LIBRARY
/* SQL ML */
addItem
(
SQL_ML_TYPE
,
"SQL Media Library"
)
->
treeItem
();
#endif
/* SD nodes */
QTreeWidgetItem
*
mycomp
=
addItem
(
CATEGORY_TYPE
,
N_
(
"My Computer"
)
)
->
treeItem
();
...
...
@@ -278,11 +280,13 @@ void PLSelector::setSource( QTreeWidgetItem *item )
if
(
!
sd_loaded
)
playlist_ServicesDiscoveryAdd
(
THEPL
,
qtu
(
qs
)
);
}
#ifdef MEDIA_LIBRARY
else
if
(
i_type
==
SQL_ML_TYPE
)
{
emit
categoryActivated
(
NULL
,
true
);
return
;
}
#endif
/* */
playlist_Lock
(
THEPL
);
...
...
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