From c2cc848cc7bdc14a40ac89e19b7882c5bac988ef Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Sun, 20 Nov 2022 00:14:36 -0500 Subject: [PATCH] remove forcePopup from showScanFlag signal That flag isn't use in any of the slots --- scanpopup.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanpopup.cc b/scanpopup.cc index b825032a..1719525e 100644 --- a/scanpopup.cc +++ b/scanpopup.cc @@ -317,7 +317,7 @@ ScanPopup::ScanPopup( QWidget * parent, #ifdef HAVE_X11 scanFlag = new ScanFlag( this ); - connect( this, SIGNAL( showScanFlag( bool ) ), + connect( this, SIGNAL( showScanFlag() ), scanFlag, SLOT( showScanFlag() ) ); connect( this, SIGNAL( hideScanFlag() ), @@ -572,7 +572,7 @@ void ScanPopup::handleInputWord( QString const & str, bool forcePopup ) #ifdef HAVE_X11 if ( cfg.preferences.showScanFlag ) { inputPhrase = pendingInputPhrase; - emit showScanFlag( forcePopup ); + emit showScanFlag(); return; } #endif