Skip to content
Permalink
Browse files
fix #4981
  • Loading branch information
jef-n committed Feb 11, 2012
1 parent 7689076 commit 767ee0150ac7b6ce015d087f03501732dbc5c8dd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgslabelinggui.cpp
@@ -459,9 +459,9 @@ void QgsLabelingGui::changeTextFont()
bool ok;
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040500 && defined(QT_MAC_USE_COCOA)
// Native Mac dialog works only for Qt Carbon
QFont font = QFontDialog::getFont( &ok, lblFontPreview->font(), this, QString(), QFontDialog::DontUseNativeDialog );
QFont font = QFontDialog::getFont( &ok, lblFontPreview->font(), 0, QString(), QFontDialog::DontUseNativeDialog );
#else
QFont font = QFontDialog::getFont( &ok, lblFontPreview->font(), this );
QFont font = QFontDialog::getFont( &ok, lblFontPreview->font() );
#endif
if ( ok )
{

0 comments on commit 767ee01

Please sign in to comment.