Skip to content

Commit

Permalink
fix #4981
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 11, 2012
1 parent 7689076 commit 767ee01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgslabelinggui.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 767ee01

Please sign in to comment.