Skip to content

Commit

Permalink
Update documentation for new timeout behavior in 3.18 (#42744)
Browse files Browse the repository at this point in the history
* update documentation for new timeout behavior in 3.18

* fix tests

* fix indentation test

* Revert "fix indentation test"

This reverts commit a2dd639.

* fix all tests
  • Loading branch information
fiddlersfan authored and github-actions[bot] committed Apr 15, 2021
1 parent 31bbdcf commit efa5a06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/gui/auto_generated/qgsmessagebar.sip.in
Expand Up @@ -214,7 +214,7 @@ Pushes a information ``message`` with default timeout to the message bar.

void pushWarning( const QString &title, const QString &message );
%Docstring
Pushes a warning ``message`` with default timeout to the message bar.
Pushes a warning ``message`` that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.

:param title: title string for message
:param message: The message to be displayed
Expand All @@ -224,7 +224,7 @@ Pushes a warning ``message`` with default timeout to the message bar.

void pushCritical( const QString &title, const QString &message );
%Docstring
Pushes a critical warning ``message`` with default timeout to the message bar.
Pushes a critical warning ``message`` that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.

:param title: title string for message
:param message: The message to be displayed
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsmessagebar.h
Expand Up @@ -229,7 +229,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
void pushInfo( const QString &title, const QString &message );

/**
* Pushes a warning \a message with default timeout to the message bar.
* Pushes a warning \a message that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.
*
* \param title title string for message
* \param message The message to be displayed
Expand All @@ -239,7 +239,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
void pushWarning( const QString &title, const QString &message );

/**
* Pushes a critical warning \a message with default timeout to the message bar.
* Pushes a critical warning \a message that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.
*
* \param title title string for message
* \param message The message to be displayed
Expand Down

0 comments on commit efa5a06

Please sign in to comment.