mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
ScanPopup window header
This commit is contained in:
parent
82d9cdaa06
commit
15f6f10f97
|
@ -464,6 +464,9 @@ void ScanPopup::engagePopup( bool forcePopup, bool giveFocus )
|
|||
raise();
|
||||
}
|
||||
|
||||
if ( ui.pinButton->isChecked() )
|
||||
setWindowTitle( QString( "%1 - %2" ).arg( elideInputWord(), "GoldenDict" ) );
|
||||
|
||||
initiateTranslation();
|
||||
}
|
||||
|
||||
|
@ -792,7 +795,7 @@ void ScanPopup::pinButtonClicked( bool checked )
|
|||
uninterceptMouse();
|
||||
|
||||
setWindowFlags( Qt::Dialog );
|
||||
setWindowTitle( elideInputWord() );
|
||||
setWindowTitle( QString( "%1 - %2" ).arg( elideInputWord(), "GoldenDict" ) );
|
||||
dictionaryBar.setMovable( true );
|
||||
hideTimer.stop();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue