Show dictionary icon in the dictionary information and dictionary headwords dialogs

This commit is contained in:
Abs62 2014-11-14 19:45:06 +03:00
parent c80334f05c
commit e107975d8c
2 changed files with 4 additions and 0 deletions

View file

@ -138,6 +138,8 @@ void DictHeadwords::setup( Dictionary::Class *dict_ )
ui.applyButton->setEnabled( !ui.autoApply->isChecked() );
setWindowIcon( dict->getIcon() );
QApplication::restoreOverrideCursor();
}

View file

@ -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 )