mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Show dictionary icon in the dictionary information and dictionary headwords dialogs
This commit is contained in:
parent
c80334f05c
commit
e107975d8c
|
@ -138,6 +138,8 @@ void DictHeadwords::setup( Dictionary::Class *dict_ )
|
|||
|
||||
ui.applyButton->setEnabled( !ui.autoApply->isChecked() );
|
||||
|
||||
setWindowIcon( dict->getIcon() );
|
||||
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
|
|
|
@ -51,6 +51,8 @@ void DictInfo::showInfo( sptr<Dictionary::Class> dict )
|
|||
ui.infoLabel->setPlainText( info );
|
||||
else
|
||||
ui.infoLabel->clear();
|
||||
|
||||
setWindowIcon( dict->getIcon() );
|
||||
}
|
||||
|
||||
void DictInfo::savePos( int )
|
||||
|
|
Loading…
Reference in a new issue