Skip to content
Permalink
Browse files

make helpText const

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
2 people authored and nyalldawson committed May 7, 2020
1 parent ee9b696 commit 0fa4718cff33b2dad3f301599b380298f0e95646
@@ -44,7 +44,7 @@ Returns the expression text
Returns the label text
%End

QString helpText();
QString helpText() const;
%Docstring
Returns the help text
%End
@@ -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
@@ -55,7 +55,7 @@ class GUI_EXPORT QgsExpressionStoreDialog : public QDialog, private Ui::QgsExpre
/**
* Returns the help text
*/
QString helpText();
QString helpText() const;

private:

0 comments on commit 0fa4718

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