Skip to content

Commit

Permalink
make helpText const
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
2 people authored and nyalldawson committed May 12, 2020
1 parent ee9b696 commit 0fa4718
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/gui/auto_generated/qgsexpressionstoredialog.sip.in
Expand Up @@ -44,7 +44,7 @@ Returns the expression text
Returns the label text
%End

QString helpText();
QString helpText() const;
%Docstring
Returns the help text
%End
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionstoredialog.cpp
Expand Up @@ -59,7 +59,7 @@ QgsExpressionStoreDialog::QgsExpressionStoreDialog( const QString &label, const
mLabel->setText( labelFixed );
}

QString QgsExpressionStoreDialog::helpText()
QString QgsExpressionStoreDialog::helpText() const
{
// remove meta qrichtext instruction from html. It fails rendering
// when mixing with other html content
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionstoredialog.h
Expand Up @@ -55,7 +55,7 @@ class GUI_EXPORT QgsExpressionStoreDialog : public QDialog, private Ui::QgsExpre
/**
* Returns the help text
*/
QString helpText();
QString helpText() const;

private:

Expand Down

0 comments on commit 0fa4718

Please sign in to comment.