diff --git a/dictheadwords.cc b/dictheadwords.cc index 8867448c..dc5d3831 100644 --- a/dictheadwords.cc +++ b/dictheadwords.cc @@ -138,6 +138,8 @@ void DictHeadwords::setup( Dictionary::Class *dict_ ) ui.applyButton->setEnabled( !ui.autoApply->isChecked() ); + setWindowIcon( dict->getIcon() ); + QApplication::restoreOverrideCursor(); } diff --git a/dictinfo.cc b/dictinfo.cc index 63fd1cc7..af3f00de 100644 --- a/dictinfo.cc +++ b/dictinfo.cc @@ -51,6 +51,8 @@ void DictInfo::showInfo( sptr dict ) ui.infoLabel->setPlainText( info ); else ui.infoLabel->clear(); + + setWindowIcon( dict->getIcon() ); } void DictInfo::savePos( int )