Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 17, 2024
1 parent a2e4f90 commit af11a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict/dictionary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ bool Class::loadIconFromText( QString iconUrl, QString const & text )
painter.setPen( intToFixedColor( abbrName.mid( 1 ).toInt() ) );

// Draw first character
painter.drawText( rectangle, Qt::AlignCenter, abbrName.at(0) );
painter.drawText( rectangle, Qt::AlignCenter, abbrName.at( 0 ) );

//the text should be a little smaller than the icon
font.setPixelSize( iconSize * 0.5 );
Expand Down

0 comments on commit af11a5c

Please sign in to comment.