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
385239a4
Commit
385239a4
authored
Nov 29, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: actually activate random action
parent
7bcfcc69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
modules/gui/qt4/actions_manager.cpp
modules/gui/qt4/actions_manager.cpp
+1
-2
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+5
-0
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+1
-0
No files found.
modules/gui/qt4/actions_manager.cpp
View file @
385239a4
...
...
@@ -90,8 +90,7 @@ void ActionsManager::doAction( int id_action )
case
QUIT_ACTION
:
THEDP
->
quit
();
break
;
case
RANDOM_ACTION
:
// FIXME
break
;
THEMIM
->
toggleRandom
();
break
;
default:
msg_Dbg
(
p_intf
,
"Action: %i"
,
id_action
);
break
;
...
...
modules/gui/qt4/input_manager.cpp
View file @
385239a4
...
...
@@ -1029,6 +1029,11 @@ void MainInputManager::togglePlayPause()
getIM
()
->
togglePlayPause
();
}
void
MainInputManager
::
toggleRandom
()
{
var_ToggleBool
(
THEPL
,
"random"
);
}
void
MainInputManager
::
activatePlayQuit
(
bool
b_exit
)
{
var_SetBool
(
THEPL
,
"play-and-exit"
,
b_exit
);
...
...
modules/gui/qt4/input_manager.hpp
View file @
385239a4
...
...
@@ -258,6 +258,7 @@ private:
public
slots
:
void
togglePlayPause
();
void
toggleRandom
();
void
stop
();
void
next
();
void
prev
();
...
...
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