remove forcePopup from showScanFlag signal

That flag isn't use in any of the slots
This commit is contained in:
shenleban tongying 2022-11-20 00:14:36 -05:00
parent 4dc040f11c
commit c2cc848cc7

View file

@ -317,7 +317,7 @@ ScanPopup::ScanPopup( QWidget * parent,
#ifdef HAVE_X11 #ifdef HAVE_X11
scanFlag = new ScanFlag( this ); scanFlag = new ScanFlag( this );
connect( this, SIGNAL( showScanFlag( bool ) ), connect( this, SIGNAL( showScanFlag() ),
scanFlag, SLOT( showScanFlag() ) ); scanFlag, SLOT( showScanFlag() ) );
connect( this, SIGNAL( hideScanFlag() ), connect( this, SIGNAL( hideScanFlag() ),
@ -572,7 +572,7 @@ void ScanPopup::handleInputWord( QString const & str, bool forcePopup )
#ifdef HAVE_X11 #ifdef HAVE_X11
if ( cfg.preferences.showScanFlag ) { if ( cfg.preferences.showScanFlag ) {
inputPhrase = pendingInputPhrase; inputPhrase = pendingInputPhrase;
emit showScanFlag( forcePopup ); emit showScanFlag();
return; return;
} }
#endif #endif