[vlc-commits] skins2: remove all hardcoded hotkeys

Erwan Tulou git at videolan.org
Sun Jul 13 13:56:37 CEST 2014


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Jul 12 13:14:59 2014 +0200| [2b427108c1e28dccb58bd5462a80e7c5ea80170c] | committer: Erwan Tulou

skins2: remove all hardcoded hotkeys

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b427108c1e28dccb58bd5462a80e7c5ea80170c
---

 modules/gui/skins2/src/top_window.cpp |   20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/modules/gui/skins2/src/top_window.cpp b/modules/gui/skins2/src/top_window.cpp
index e7b79df..e0e5c98 100644
--- a/modules/gui/skins2/src/top_window.cpp
+++ b/modules/gui/skins2/src/top_window.cpp
@@ -207,26 +207,6 @@ void TopWindow::processEvent( EvtKey &rEvtKey )
     // Only do the action when the key is down
     if( rEvtKey.getKeyState() == EvtKey::kDown )
     {
-        //XXX not to be hardcoded!
-        // Ctrl-S = Change skin
-        if( (rEvtKey.getMod() & EvtInput::kModCtrl) &&
-            rEvtKey.getKey() == 's' )
-        {
-            CmdDlgChangeSkin cmd( getIntf() );
-            cmd.execute();
-            return;
-        }
-
-        //XXX not to be hardcoded!
-        // Ctrl-T = Toggle on top
-        if( (rEvtKey.getMod() & EvtInput::kModCtrl) &&
-            rEvtKey.getKey() == 't' )
-        {
-            CmdOnTop cmd( getIntf() );
-            cmd.execute();
-            return;
-        }
-
         getIntf()->p_sys->p_dialogs->sendKey( rEvtKey.getModKey() );
     }
 



More information about the vlc-commits mailing list