Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Dec 28, 2024
1 parent c0aca7e commit d6c7d11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/dictionary_icon_name.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ QString Icons::DictionaryIconName::getIconName( const QString & dictionaryName )
auto it1 = _iconDictionaryNames.contains( name );
if ( it1 ) {
auto vector = _iconDictionaryNames.value( name );
_iconDictionaryNames.insert( name, vector++ );
vector++;
_iconDictionaryNames.insert( name, vector );
}
else {
_iconDictionaryNames.insert( name, 1 );
Expand Down

0 comments on commit d6c7d11

Please sign in to comment.