Skip to content
Permalink
Browse files
Fix QChar to int conversion doesn't exist anymore
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 55840a7 commit cc57cdd85ce764a6c255d48e460029e798f3680f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology/characterwidget.cpp
@@ -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 )

0 comments on commit cc57cdd

Please sign in to comment.