Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Mac build
  • Loading branch information
dakcarto committed Sep 4, 2014
1 parent 962b6d1 commit f4ba537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposermapwidget.cpp
Expand Up @@ -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
Expand Down

0 comments on commit f4ba537

Please sign in to comment.