mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +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() );
|
ui.applyButton->setEnabled( !ui.autoApply->isChecked() );
|
||||||
|
|
||||||
|
setWindowIcon( dict->getIcon() );
|
||||||
|
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,8 @@ void DictInfo::showInfo( sptr<Dictionary::Class> dict )
|
||||||
ui.infoLabel->setPlainText( info );
|
ui.infoLabel->setPlainText( info );
|
||||||
else
|
else
|
||||||
ui.infoLabel->clear();
|
ui.infoLabel->clear();
|
||||||
|
|
||||||
|
setWindowIcon( dict->getIcon() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void DictInfo::savePos( int )
|
void DictInfo::savePos( int )
|
||||||
|
|
Loading…
Reference in a new issue