Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix QChar to int conversion doesn't exist anymore
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 55840a7 commit cc57cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/symbology/characterwidget.cpp
Expand Up @@ -111,7 +111,7 @@ void CharacterWidget::setColumns( int columns )

void CharacterWidget::setCharacter( QChar character )
{
const bool changed = character != mLastKey;
const bool changed = character.unicode() != mLastKey;
mLastKey = character.isNull() ? -1 : character.unicode();
QWidget *widget = parentWidget();
if ( widget )
Expand Down

0 comments on commit cc57cdd

Please sign in to comment.