From d25e054a93245bbb4e2f32800ce3fb0dc24f221b Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Fri, 21 Jul 2023 14:46:39 +0800 Subject: [PATCH] opt: replace program dictionary icon --- icons/programdict.svg | 241 ++++++++++++++++++++++++++++++++++++++++++ resources.qrc | 1 + src/dict/programs.cc | 2 +- 3 files changed, 243 insertions(+), 1 deletion(-) create mode 100644 icons/programdict.svg diff --git a/icons/programdict.svg b/icons/programdict.svg new file mode 100644 index 00000000..48483adf --- /dev/null +++ b/icons/programdict.svg @@ -0,0 +1,241 @@ + + + +image/svg+xmlJakub Steinerhttp://jimmac.musichall.czaddresscontactbookoffice diff --git a/resources.qrc b/resources.qrc index a7be5876..0171ab46 100644 --- a/resources.qrc +++ b/resources.qrc @@ -70,6 +70,7 @@ icons/previous.svg icons/print.svg icons/programs.svg + icons/programdict.svg icons/sources.png icons/star.svg icons/star_blue.svg diff --git a/src/dict/programs.cc b/src/dict/programs.cc index fa3728c2..961cd5ff 100644 --- a/src/dict/programs.cc +++ b/src/dict/programs.cc @@ -126,7 +126,7 @@ void ProgramsDictionary::loadIcon() noexcept loadIconFromFile( fInfo.absoluteFilePath(), true ); } if ( dictionaryIcon.isNull() ) - dictionaryIcon = QIcon( ":/icons/programs.svg" ); + dictionaryIcon = QIcon( ":/icons/programdict.svg" ); dictionaryIconLoaded = true; }