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

Qt: cosmetics and update copyright for ActionsManager

parent e161c6a7
/***************************************************************************** /*****************************************************************************
* actions_manager.cpp : Controller for the main interface * actions_manager.cpp : Controller for the main interface
**************************************************************************** ****************************************************************************
* Copyright (C) 2006-2008 the VideoLAN team * Copyright © 2009-2014 VideoLAN and VLC authors
* $Id$ * $Id$
* *
* Authors: Jean-Baptiste Kempf <jb@videolan.org> * Authors: Jean-Baptiste Kempf <jb@videolan.org>
* Ilkka Ollakka <ileoo@videolan.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -30,8 +29,9 @@ ...@@ -30,8 +29,9 @@
#include <vlc_keys.h> #include <vlc_keys.h>
#include "actions_manager.hpp" #include "actions_manager.hpp"
#include "dialogs_provider.hpp" /* Opening Dialogs */ #include "dialogs_provider.hpp" /* Opening Dialogs */
#include "input_manager.hpp" #include "input_manager.hpp" /* THEMIM */
#include "main_interface.hpp" /* Show playlist */ #include "main_interface.hpp" /* Show playlist */
#include "components/controller.hpp" /* Toggle FSC controller width */ #include "components/controller.hpp" /* Toggle FSC controller width */
...@@ -40,8 +40,6 @@ ActionsManager::ActionsManager( intf_thread_t * _p_i ) ...@@ -40,8 +40,6 @@ ActionsManager::ActionsManager( intf_thread_t * _p_i )
p_intf = _p_i; p_intf = _p_i;
} }
ActionsManager::~ActionsManager(){}
void ActionsManager::doAction( int id_action ) void ActionsManager::doAction( int id_action )
{ {
switch( id_action ) switch( id_action )
...@@ -95,7 +93,7 @@ void ActionsManager::doAction( int id_action ) ...@@ -95,7 +93,7 @@ void ActionsManager::doAction( int id_action )
p_intf->p_sys->p_mi->getFullscreenControllerWidget()->toggleFullwidth(); p_intf->p_sys->p_mi->getFullscreenControllerWidget()->toggleFullwidth();
break; break;
default: default:
msg_Dbg( p_intf, "Action: %i", id_action ); msg_Warn( p_intf, "Action not supported: %i", id_action );
break; break;
} }
} }
...@@ -140,7 +138,8 @@ void ActionsManager::snapshot() ...@@ -140,7 +138,8 @@ void ActionsManager::snapshot()
void ActionsManager::playlist() void ActionsManager::playlist()
{ {
if( p_intf->p_sys->p_mi ) p_intf->p_sys->p_mi->togglePlaylist(); if( p_intf->p_sys->p_mi )
p_intf->p_sys->p_mi->togglePlaylist();
} }
void ActionsManager::record() void ActionsManager::record()
......
...@@ -69,7 +69,7 @@ public: ...@@ -69,7 +69,7 @@ public:
private: private:
ActionsManager( intf_thread_t *_p_i ); ActionsManager( intf_thread_t *_p_i );
virtual ~ActionsManager(); virtual ~ActionsManager() {}
intf_thread_t *p_intf; intf_thread_t *p_intf;
......
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