vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/plugins.cpp
// Do not close on ESC or ENTER
Do not close on ESC or ENTER
Do not close on ESC or ENTER
void AddonsTab::keyPressEvent( QKeyEvent *keyEvent )
{
    if( keyEvent->key() == Qt::Key_Return ||
        keyEvent->key() == Qt::Key_Enter )
        keyEvent->accept();
    else
        keyEvent->ignore();
}
void AddonsTab :: keyPressEvent ( QKeyEvent * keyEvent ) { if ( keyEvent -> key ( ) == Qt :: Key_Return || keyEvent -> key ( ) == Qt :: Key_Enter ) keyEvent -> accept ( ) ; else keyEvent -> ignore ( ) ; }
Do not close on ESC or ENTER
Do not close on ESC or ENTER