Changeset 6c8ee7e1db7082e4eed1656e96a8c6f339147428

Show
Ignore:
Timestamp:
17/01/08 10:00:34 (11 months ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1200560434 +0000
git-parent:

[03a9b9cb7b38ce441fe9c6d30885a650cff9cf4b]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1200560434 +0000
Message:

Do previous commit in a better way.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/components/preferences_widgets.cpp

    r03a9b9c r6c8ee7e  
    12061206{ 
    12071207    if( e->key() == Qt::Key_Tab || 
    1208         ( e->modifiers() > 0 && e->modifiers() != Qt::KeypadModifier ) ) return; 
     1208        e->key() == Qt::Key_Shift || 
     1209        e->key() == Qt::Key_Control || 
     1210        e->key() == Qt::Key_Meta || 
     1211        e->key() == Qt::Key_Alt || 
     1212        e->key() == Qt::Key_AltGr ) 
     1213        return; 
    12091214    int i_vlck = qtEventToVLCKey( e ); 
    12101215    selected->setText( qtr( "Key: " ) + VLCKeyToString( i_vlck ) );