From 7806a86e2262642c774e31725bea4c39ce6bc25d Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Tue, 8 Aug 2023 17:28:04 +0800 Subject: [PATCH] fix: no need to installEventFilter( this) to itself --- src/ui/mainwindow.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index 3ae73757..68960506 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -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 );