Skip to content

Commit

Permalink
opt: change the svg to png to suppress qt.svg warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Jul 15, 2024
1 parent 262c3c1 commit 2d7760d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added icons/lsasound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<file>icons/playsound_color.svg</file>
<file>icons/sounddir.svg</file>
<file>icons/zipsound.svg</file>
<file>icons/lsasound.svg</file>
<file>icons/lsasound.png</file>
<file>icons/previous.svg</file>
<file>icons/print.svg</file>
<file>icons/programs.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/dict/lsa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d7760d

Please sign in to comment.