Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
db3e9fea
Commit
db3e9fea
authored
Oct 17, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: The media library can be disabled
parent
eda8ea10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+8
-4
No files found.
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
db3e9fea
...
...
@@ -204,8 +204,10 @@ void StandardPLPanel::setCurrentRootId( int _new )
addButton
->
setEnabled
(
true
);
addButton
->
setToolTip
(
qtr
(
I_PL_ADDPL
)
);
}
else
if
(
currentRootId
==
THEPL
->
p_ml_category
->
i_id
||
currentRootId
==
THEPL
->
p_ml_onelevel
->
i_id
)
else
if
(
(
THEPL
->
p_ml_category
&&
currentRootId
==
THEPL
->
p_ml_category
->
i_id
)
||
(
THEPL
->
p_ml_onelevel
&&
currentRootId
==
THEPL
->
p_ml_onelevel
->
i_id
)
)
{
addButton
->
setEnabled
(
true
);
addButton
->
setToolTip
(
qtr
(
I_PL_ADDML
)
);
...
...
@@ -224,8 +226,10 @@ void StandardPLPanel::popupAdd()
popup
.
addAction
(
qtr
(
I_PL_ADVADD
),
THEDP
,
SLOT
(
PLAppendDialog
())
);
popup
.
addAction
(
qtr
(
I_PL_ADDDIR
),
THEDP
,
SLOT
(
PLAppendDir
())
);
}
else
if
(
currentRootId
==
THEPL
->
p_ml_category
->
i_id
||
currentRootId
==
THEPL
->
p_ml_onelevel
->
i_id
)
else
if
(
(
THEPL
->
p_ml_category
&&
currentRootId
==
THEPL
->
p_ml_category
->
i_id
)
||
(
THEPL
->
p_ml_onelevel
&&
currentRootId
==
THEPL
->
p_ml_onelevel
->
i_id
)
)
{
popup
.
addAction
(
qtr
(
I_PL_ADDF
),
THEDP
,
SLOT
(
simpleMLAppendDialog
()));
popup
.
addAction
(
qtr
(
I_PL_ADVADD
),
THEDP
,
SLOT
(
MLAppendDialog
()
)
);
...
...
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