Skip to content
Permalink
Browse files

Fix Mac build

  • Loading branch information
dakcarto committed Sep 4, 2014
1 parent 962b6d1 commit f4ba53750d0c24ea99bd513d9390d554cc23c257
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/composer/qgscomposermapwidget.cpp
@@ -1891,7 +1891,7 @@ void QgsComposerMapWidget::on_mAnnotationFontButton_clicked()
bool ok;
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
// Native Mac dialog works only for Qt Carbon
QFont newFont = QFontDialog::getFont( &ok, grid->gridAnnotationFont(), 0, QString(), QFontDialog::DontUseNativeDialog );
QFont newFont = QFontDialog::getFont( &ok, grid->annotationFont(), 0, QString(), QFontDialog::DontUseNativeDialog );
#else
QFont newFont = QFontDialog::getFont( &ok, grid->annotationFont() );
#endif

0 comments on commit f4ba537

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