mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 21:34:07 +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();
|
raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ui.pinButton->isChecked() )
|
||||||
|
setWindowTitle( QString( "%1 - %2" ).arg( elideInputWord(), "GoldenDict" ) );
|
||||||
|
|
||||||
initiateTranslation();
|
initiateTranslation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -792,7 +795,7 @@ void ScanPopup::pinButtonClicked( bool checked )
|
||||||
uninterceptMouse();
|
uninterceptMouse();
|
||||||
|
|
||||||
setWindowFlags( Qt::Dialog );
|
setWindowFlags( Qt::Dialog );
|
||||||
setWindowTitle( elideInputWord() );
|
setWindowTitle( QString( "%1 - %2" ).arg( elideInputWord(), "GoldenDict" ) );
|
||||||
dictionaryBar.setMovable( true );
|
dictionaryBar.setMovable( true );
|
||||||
hideTimer.stop();
|
hideTimer.stop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue