Commit ba7ed3b8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: create a AM::PPAction

Ref #11613

(cherry picked from commit 004213d0606e9590eb9454dedf8c0f4715e55dd0)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 94c56b98
......@@ -34,6 +34,7 @@
#include "input_manager.hpp" /* THEMIM */
#include "main_interface.hpp" /* Show playlist */
#include "components/controller.hpp" /* Toggle FSC controller width */
#include "components/extended_panels.hpp"
ActionsManager::ActionsManager( intf_thread_t * _p_i )
{
......@@ -201,3 +202,11 @@ void ActionsManager::skipBackward()
THEMIM->getIM()->jumpBwd();
}
void ActionsManager::PPaction( QAction *a )
{
int i_q = -1;
if( a != NULL )
i_q = a->data().toInt();
ExtVideo::setPostprocessing( p_intf, i_q );
}
......@@ -32,6 +32,8 @@
#include "util/singleton.hpp"
#include <QObject>
class QAction;
typedef enum actionType_e
{
PLAY_ACTION,
......@@ -81,6 +83,7 @@ public slots:
void record();
void skipForward();
void skipBackward();
void PPaction( QAction * );
protected slots:
void fullscreen();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment