Skip to content
Permalink
Browse files

Fix compiling with older Qt versions

  • Loading branch information
m-kuhn committed Mar 10, 2019
1 parent 3c4b9d6 commit 5d6d0fa6063639ff6025e144a346750161ed10f1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgstextformatwidget.cpp
@@ -1109,7 +1109,8 @@ void QgsTextFormatWidget::mFontSizeSpinBox_valueChanged( double d )

void QgsTextFormatWidget::mFontCapitalsComboBox_currentIndexChanged( int index )
{
mRefFont.setCapitalization( mFontCapitalsComboBox->itemData( index ).value<QFont::Capitalization>() );
int capitalsindex = mFontCapitalsComboBox->itemData( index ).toInt();
mRefFont.setCapitalization( ( QFont::Capitalization ) capitalsindex );
updateFont( mRefFont );
}

0 comments on commit 5d6d0fa

Please sign in to comment.
You can’t perform that action at this time.