Skip to content

Commit

Permalink
Recommend that QgsFontButton is used instead of getFont
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 6, 2017
1 parent 43f11f4 commit 49ad783
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gui/qgsguiutils.h
Expand Up @@ -123,7 +123,11 @@ namespace QgsGuiUtils
QString GUI_EXPORT createFileFilter_( QString const &format );

/**
* Show font selection dialog
* Show font selection dialog.
*
* It is strongly recommended that you do not use this method, and instead use the standard
* QgsFontButton widget to allow users consistent font selection behavior.
*
* \param ok true on ok, false on cancel
* \param initial initial font
* \param title optional dialog title
Expand Down

0 comments on commit 49ad783

Please sign in to comment.