ScanPopup window header

This commit is contained in:
Abs62 2013-01-26 19:55:17 +04:00
parent 82d9cdaa06
commit 15f6f10f97

View file

@ -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();
} }