mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 16:04:06 +00:00
opt: some entries do not need to be translated
This commit is contained in:
parent
6abe288f16
commit
0bf8a4a3fd
|
@ -1971,7 +1971,7 @@ void MainWindow::updateWindowTitle()
|
|||
if ( view ) {
|
||||
QString str = view->getTitle();
|
||||
if ( !str.isEmpty() ) {
|
||||
setWindowTitle( tr( "%1 - %2" ).arg( str, "GoldenDict-ng" ) );
|
||||
setWindowTitle( QString( "%1 - %2" ).arg( str, "GoldenDict-ng" ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -553,7 +553,7 @@ void ScanPopup::engagePopup( bool forcePopup, bool giveFocus )
|
|||
}
|
||||
|
||||
if ( ui.pinButton->isChecked() )
|
||||
setWindowTitle( tr( "%1 - GoldenDict-ng" ).arg( elideInputWord() ) );
|
||||
setWindowTitle( QString( "%1 - GoldenDict-ng" ).arg( elideInputWord() ) );
|
||||
|
||||
/// Too large strings make window expand which is probably not what user
|
||||
/// wants
|
||||
|
@ -916,7 +916,7 @@ void ScanPopup::pinButtonClicked( bool checked )
|
|||
setAttribute( Qt::WA_MacAlwaysShowToolWindow );
|
||||
#endif
|
||||
|
||||
setWindowTitle( tr( "%1 - GoldenDict-ng" ).arg( elideInputWord() ) );
|
||||
setWindowTitle( QString( "%1 - GoldenDict-ng" ).arg( elideInputWord() ) );
|
||||
dictionaryBar.setMovable( true );
|
||||
hideTimer.stop();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue