fix: no need to installEventFilter( this) to itself

This commit is contained in:
YiFang Xiao 2023-08-08 17:28:04 +08:00 committed by xiaoyifang
parent 67ac815db4
commit 7806a86e22

View file

@ -679,8 +679,6 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
connect( &configEvents, &Config::Events::mutedDictionariesChanged, this, &MainWindow::mutedDictionariesChanged );
this->installEventFilter( this );
ui.translateLine->installEventFilter( this );
translateBox->translateLine()->installEventFilter( this );