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
afac1c04
Commit
afac1c04
authored
Oct 09, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - playlist: invert random/repeat buttons to match OSX intf and iTunes.
parent
a5ac2854
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+10
-9
No files found.
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
afac1c04
...
...
@@ -93,6 +93,16 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
BUTTONACT
(
addButton
,
popupAdd
()
);
buttons
->
addWidget
(
addButton
);
randomButton
=
new
QPushButton
(
this
);
randomButton
->
setIcon
(
model
->
hasRandom
()
?
QIcon
(
":/pixmaps/vlc_playlist_shuffle_on.png"
)
:
QIcon
(
":/pixmaps/vlc_playlist_shuffle_off.png"
)
);
BUTTONACT
(
randomButton
,
toggleRandom
()
);
buttons
->
addWidget
(
randomButton
);
QSpacerItem
*
spacer
=
new
QSpacerItem
(
10
,
20
);
buttons
->
addItem
(
spacer
);
repeatButton
=
new
QPushButton
(
this
);
if
(
model
->
hasRepeat
()
)
repeatButton
->
setIcon
(
QIcon
(
":/pixmaps/vlc_playlist_repeat_one.png"
)
);
...
...
@@ -103,15 +113,6 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
BUTTONACT
(
repeatButton
,
toggleRepeat
()
);
buttons
->
addWidget
(
repeatButton
);
randomButton
=
new
QPushButton
(
this
);
randomButton
->
setIcon
(
model
->
hasRandom
()
?
QIcon
(
":/pixmaps/vlc_playlist_shuffle_on.png"
)
:
QIcon
(
":/pixmaps/vlc_playlist_shuffle_off.png"
)
);
BUTTONACT
(
randomButton
,
toggleRandom
()
);
buttons
->
addWidget
(
randomButton
);
QSpacerItem
*
spacer
=
new
QSpacerItem
(
10
,
20
);
buttons
->
addItem
(
spacer
);
QLabel
*
filter
=
new
QLabel
(
qtr
(
I_PL_SEARCH
)
+
" "
);
buttons
->
addWidget
(
filter
);
...
...
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