opt: change the svg to png to suppress qt.svg warning

This commit is contained in:
Xiao Yi Fang 2024-07-15 15:50:29 +08:00 committed by xiaoyifang
parent 2ce8f72da1
commit 7de7a14d66
3 changed files with 2 additions and 2 deletions

BIN
icons/lsasound.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -68,7 +68,7 @@
<file>icons/playsound_color.svg</file> <file>icons/playsound_color.svg</file>
<file>icons/sounddir.svg</file> <file>icons/sounddir.svg</file>
<file>icons/zipsound.svg</file> <file>icons/zipsound.svg</file>
<file>icons/lsasound.svg</file> <file>icons/lsasound.png</file>
<file>icons/previous.svg</file> <file>icons/previous.svg</file>
<file>icons/print.svg</file> <file>icons/print.svg</file>
<file>icons/programs.svg</file> <file>icons/programs.svg</file>

View file

@ -483,7 +483,7 @@ void LsaDictionary::loadIcon() noexcept
if ( !loadIconFromFile( fileName ) ) { if ( !loadIconFromFile( fileName ) ) {
// Load failed -- use default icons // Load failed -- use default icons
dictionaryIcon = QIcon( ":/icons/lsasound.svg" ); dictionaryIcon = QIcon( ":/icons/lsasound.png" );
} }
dictionaryIconLoaded = true; dictionaryIconLoaded = true;