mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
remove forcePopup from showScanFlag signal
That flag isn't use in any of the slots
This commit is contained in:
parent
4dc040f11c
commit
c2cc848cc7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue