Skip to content

Commit f4ba537

Browse files
committedSep 4, 2014
Fix Mac build
1 parent 962b6d1 commit f4ba537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/composer/qgscomposermapwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ void QgsComposerMapWidget::on_mAnnotationFontButton_clicked()
18911891
bool ok;
18921892
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
18931893
// Native Mac dialog works only for Qt Carbon
1894-
QFont newFont = QFontDialog::getFont( &ok, grid->gridAnnotationFont(), 0, QString(), QFontDialog::DontUseNativeDialog );
1894+
QFont newFont = QFontDialog::getFont( &ok, grid->annotationFont(), 0, QString(), QFontDialog::DontUseNativeDialog );
18951895
#else
18961896
QFont newFont = QFontDialog::getFont( &ok, grid->annotationFont() );
18971897
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.