Skip to content

Commit

Permalink
Apply suggestion.
Browse files Browse the repository at this point in the history
Co-Authored-By: nirvn <nirvn.asia@gmail.com>
  • Loading branch information
nyalldawson and nirvn committed Dec 14, 2018
1 parent c714652 commit 32e484c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -144,7 +144,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
QStringList themes = QgsApplication::uiThemes().keys();
cmbUITheme->addItems( themes );

#if QT_VERSION < QT_VERSION_CHECK( 5, 12, 0 )
#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)
lblUITheme->setText( QStringLiteral( "%1 <i>(%2)</i>" ).arg( lblUITheme->text(), tr( "QGIS restart required" ) ) );
#else
connect( cmbUITheme, static_cast<void ( QComboBox::* )( const QString & )>( &QComboBox::currentIndexChanged ), this, &QgsOptions::uiThemeChanged );
Expand Down

0 comments on commit 32e484c

Please sign in to comment.