Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created June 1, 2012 18:36
Show Gist options
  • Save jef-n/2854257 to your computer and use it in GitHub Desktop.
Save jef-n/2854257 to your computer and use it in GitHub Desktop.
potential fix for #5692
diff --git a/src/app/composer/qgscomposer.cpp b/src/app/composer/qgscomposer.cpp
index 3fbbf2c..29ea24b 100644
--- a/src/app/composer/qgscomposer.cpp
+++ b/src/app/composer/qgscomposer.cpp
@@ -83,7 +83,9 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
int size = settings.value( "/IconSize", QGIS_ICON_SIZE ).toInt();
setIconSize( QSize( size, size ) );
+#ifndef Q_WS_MAC
setFontSize( settings.value( "/fontPointSize", QGIS_DEFAULT_FONTSIZE ).toInt() );
+#endif
QToolButton* orderingToolButton = new QToolButton( this );
orderingToolButton->setPopupMode( QToolButton::InstantPopup );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment