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
|
#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
|
||||||
|
|
Loading…
Reference in a new issue