Navigation Menu

Skip to content

Commit

Permalink
Try to fix Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 12, 2020
1 parent bf71382 commit 8b26316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@ Stores a fragment of text along with formatting overrides to be used when render
%End
public:

explicit QgsTextFragment( const QString &text, const QgsTextCharacterFormat &format = QgsTextCharacterFormat() );
explicit QgsTextFragment( const QString &text = QString(), const QgsTextCharacterFormat &format = QgsTextCharacterFormat() );
%Docstring
Constructor for QgsTextFragment, with the specified ``text`` and optional character ``format``.
%End
Expand Down
2 changes: 1 addition & 1 deletion src/core/textrenderer/qgstextfragment.h
Expand Up @@ -38,7 +38,7 @@ class CORE_EXPORT QgsTextFragment
/**
* Constructor for QgsTextFragment, with the specified \a text and optional character \a format.
*/
explicit QgsTextFragment( const QString &text, const QgsTextCharacterFormat &format = QgsTextCharacterFormat() );
explicit QgsTextFragment( const QString &text = QString(), const QgsTextCharacterFormat &format = QgsTextCharacterFormat() );

/**
* Constructor for QgsTextFragment, based on the specified QTextFragment \a fragment.
Expand Down

0 comments on commit 8b26316

Please sign in to comment.