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
b1fc78b0
Commit
b1fc78b0
authored
Mar 24, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: menu: 'quit after playback' is playlist related
parent
58634ccf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+6
-5
No files found.
modules/gui/qt4/menus.cpp
View file @
b1fc78b0
...
...
@@ -330,6 +330,7 @@ void QVLCMenu::createMenuBar( MainInterface *mi,
QMenu
*
QVLCMenu
::
FileMenu
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
)
{
QMenu
*
menu
=
new
QMenu
(
parent
);
QAction
*
action
;
addDPStaticEntry
(
menu
,
qtr
(
"&Open File..."
),
":/type/file-asym"
,
SLOT
(
simpleOpenDialog
()
),
"Ctrl+O"
);
...
...
@@ -368,6 +369,11 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
menu
->
addSeparator
();
#endif
action
=
addMIMStaticEntry
(
p_intf
,
menu
,
qtr
(
"Quit at the end of playlist"
),
""
,
SLOT
(
activatePlayQuit
(
bool
)
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
THEMIM
->
getPlayExitState
()
);
addDPStaticEntry
(
menu
,
qtr
(
"&Quit"
)
,
":/menu/quit"
,
SLOT
(
quit
()
),
"Ctrl+Q"
);
return
menu
;
...
...
@@ -825,11 +831,6 @@ void QVLCMenu::PopupMenuPlaylistControlEntries( QMenu *menu,
addMIMStaticEntry
(
p_intf
,
menu
,
qtr
(
"Ne&xt"
),
":/menu/next"
,
SLOT
(
next
()
)
);
action
=
addMIMStaticEntry
(
p_intf
,
menu
,
qtr
(
"Quit after Playback"
),
""
,
SLOT
(
activatePlayQuit
(
bool
)
)
);
action
->
setCheckable
(
true
);
action
->
setChecked
(
THEMIM
->
getPlayExitState
()
);
menu
->
addSeparator
();
}
...
...
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