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
1d9c69bb
Commit
1d9c69bb
authored
May 09, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: rename variable for consistency
parent
175b37db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+2
-2
modules/gui/qt4/components/playlist/selector.hpp
modules/gui/qt4/components/playlist/selector.hpp
+1
-1
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
1d9c69bb
...
...
@@ -193,7 +193,7 @@ void PLSelector::createItems()
ml
->
treeItem
()
->
setData
(
0
,
SPECIAL_ROLE
,
QVariant
(
IS_ML
)
);
/* SQL ML */
QTreeWidgetItem
*
sql_ml
=
addItem
(
SQL_ML
,
"SQL Media Library"
)
->
treeItem
();
QTreeWidgetItem
*
sql_ml
=
addItem
(
SQL_ML
_TYPE
,
"SQL Media Library"
)
->
treeItem
();
/* SD nodes */
QTreeWidgetItem
*
mycomp
=
addItem
(
CATEGORY_TYPE
,
N_
(
"My Computer"
)
)
->
treeItem
();
...
...
@@ -274,7 +274,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
if
(
!
sd_loaded
)
playlist_ServicesDiscoveryAdd
(
THEPL
,
qtu
(
qs
)
);
}
else
if
(
i_type
==
SQL_ML
)
else
if
(
i_type
==
SQL_ML
_TYPE
)
{
emit
categoryActivated
(
NULL
,
true
);
return
;
...
...
modules/gui/qt4/components/playlist/selector.hpp
View file @
1d9c69bb
...
...
@@ -44,7 +44,7 @@ enum SelectorItemType {
CATEGORY_TYPE
,
SD_TYPE
,
PL_ITEM_TYPE
,
SQL_ML
SQL_ML
_TYPE
,
};
enum
SpecialData
{
...
...
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