Skip to content
Permalink
Browse files

Remove some dox details which are likely to go out of date quickly

  • Loading branch information
nyalldawson committed Oct 25, 2018
1 parent 857bbe1 commit 1118f4ac911c83d55587058b660715c3b9179486
Showing with 5 additions and 5 deletions.
  1. +1 −1 python/gui/auto_generated/qgsgui.sip.in
  2. +1 −1 src/gui/qgsgui.cpp
  3. +3 −3 src/gui/qgsgui.h
@@ -110,7 +110,7 @@ Sets the global window ``manager``. Ownership is transferred to the QgsGui insta

static QgsGui::HigFlags higFlags();
%Docstring
Returns HIG flags. Currently indicates whether titles should be title case depending on the current locale.
Returns the platform's HIG flags.

.. versionadded:: 3.4
%End
@@ -117,7 +117,7 @@ void QgsGui::setWindowManager( QgsWindowManagerInterface *manager )
QgsGui::HigFlags QgsGui::higFlags()
{
QgsSettings settings;
if ( settings.value( QStringLiteral( "locale/userLocale" ), "" ).toString().startsWith( "en" ) )
if ( settings.value( QStringLiteral( "locale/userLocale" ), QString() ).toString().startsWith( QLatin1String( "en" ) ) )
{
return HigMenuTextIsTitleCase | HigDialogTitleIsTitleCase;
}
@@ -126,8 +126,8 @@ class GUI_EXPORT QgsGui
static void setWindowManager( QgsWindowManagerInterface *manager SIP_TRANSFER );

/**
* HIG flags. Currently indicate whether titles should be title case depending on the current locale.
* \since QGIS 3.4
* HIG flags, which indicate the Human Interface Guidelines for the current platform.
* \since QGIS 3.4
*/
enum HigFlag
{
@@ -137,7 +137,7 @@ class GUI_EXPORT QgsGui
Q_DECLARE_FLAGS( HigFlags, HigFlag )

/**
* Returns HIG flags. Currently indicates whether titles should be title case depending on the current locale.
* Returns the platform's HIG flags.
* \since QGIS 3.4
*/
static QgsGui::HigFlags higFlags();

0 comments on commit 1118f4a

Please sign in to comment.
You can’t perform that action at this time.