From 7de7a14d66d8cbdbbf5fd6270d17b6236ca9dae8 Mon Sep 17 00:00:00 2001 From: Xiao Yi Fang Date: Mon, 15 Jul 2024 15:50:29 +0800 Subject: [PATCH] opt: change the svg to png to suppress qt.svg warning --- icons/lsasound.png | Bin 0 -> 3188 bytes resources.qrc | 2 +- src/dict/lsa.cc | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 icons/lsasound.png diff --git a/icons/lsasound.png b/icons/lsasound.png new file mode 100644 index 0000000000000000000000000000000000000000..2d73561b42584f07326b78fb8f6a6bca04ecb92b GIT binary patch literal 3188 zcmV-)42$!LP)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H102FjZ zSad;kbZBpK07_wNbz&e>bY*F7Wpd{G_b&hd03vinSaefwb#h~60BCe{a5^t9YH4k4 zVPh_Bb#rNBXklz@E@OHx^=Zh&00013bVXQnLvL_-a%pF1bO1v`Fd$HMVr*$+AVhC% zVQFq4L}g@YV_|e@Z*CxHbaZe!FE3+qWnpw_c4cF4ZEbIEb1rXkXD@JdVr*$+WN&R@ zX>KoiWpZyXF)lDK#^b&D000Y5Nkl$q$UNY@oOT z;@EM&fY@<8cqr3g3=K(}VWw#wG$nx&nifbJ2U2FRfOt|$>9kE+paf4a z*citKKZGn}Te2)!wx0K1UESw7yMLT3*|H_ulu$P_UNd{nJ!h}8_V?|z_Bw0tE5;ap zn?+q{03TK^61dQEk-&wPiv%vTSReHOEAOd`Sw%fdi<%pX_}7S5S4JZhbrp%4s^s86 z=FtaQmV6ld@$C1QQm_+GWL zEZ_L(zyfFm`xCV+y5V{(%LnCCEDn<|4v{Y;$rqCtFUd(#CRgA-S@rk4%wMaUwYi+KQw{oSBfq+)Ia9?#XF{7vCLd{&5FpDpMAsl1`#Ra z7tl)RY?w*o!Uj^q9k@;&f4}k1M&PV#AV0PCsjB+fw=P}zop2~t&9)aF z@Gzo8CSLo~>y|Lw7pM1VAK7#_`JuhU{T#JQsB;t%EA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`{VS)p-`4{ZfKO!*tScm;4!7XmJz5wP0z%)`D%Rv8!V#CaVlB$3m7{(Y{+LN?)rf@CA)pM(vRTm*!@MvjIaSidOv#%eHB71Kqhdm5Z+1f4%670Ui%D1cxd@1eT5&DW)r%3OCl4XZ za?1L!=71=48=&?04sh4EL>COxU&9^6pVKz1G4Jlj56CZQ*cF z63Z9<^G9Exsj-fmzxe`h?(0I7n$Wh=R-APU4Yc`AU> zP0~4KXKN34fA1x(m{-Fmu9${nYv?pw_Q?bXJBLsa;i2cYGB})L=k6X<^gMEmL4Yd2 zAvl0AKyp$7WknYV_4J{A@QV4grNdJ&UhWM0%1%?t7{YPQ)Vdl%VT;zbep>hU15jTd zkQWih7*iP49aqeW zNEE0XZ4a-m_}bN1&%dc@*{zOchfec`A)U#wYhOE#W3l*}Ii%8Aw(mYf??8%%+5}4$ z%*D2XFx$DWoxN>c%xI{hx-v>KJwoHGsZ6U&jM*E#6tZb{y!zApn|qJ^?2&)VYy?u} znNI>qV@@7Bo=(68D#|S$3z4|*v++AFsdbhs@z0#9k4Q?sq+5^X{^Rd|KJr2dh6!4F zl!!5-Uz7>TX%UGLxGf5VIT?Q+`BD67;t`yCicons/playsound_color.svg icons/sounddir.svg icons/zipsound.svg - icons/lsasound.svg + icons/lsasound.png icons/previous.svg icons/print.svg icons/programs.svg diff --git a/src/dict/lsa.cc b/src/dict/lsa.cc index 644da765..4874a97f 100644 --- a/src/dict/lsa.cc +++ b/src/dict/lsa.cc @@ -483,7 +483,7 @@ void LsaDictionary::loadIcon() noexcept if ( !loadIconFromFile( fileName ) ) { // Load failed -- use default icons - dictionaryIcon = QIcon( ":/icons/lsasound.svg" ); + dictionaryIcon = QIcon( ":/icons/lsasound.png" ); } dictionaryIconLoaded = true;