Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 5, 2022
1 parent b93e165 commit 7b84c5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/gui/auto_generated/codeeditors/qgscodeeditor.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Clears all warning messages from the editor.
.. versionadded:: 3.16
%End

Mode mode() const;
QgsCodeEditor::Mode mode() const;
%Docstring
Returns the code editor mode.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ code autocompletion.
%End
public:

QgsCodeEditorR( QWidget *parent /TransferThis/ = 0, Mode mode = Mode::ScriptEditor );
QgsCodeEditorR( QWidget *parent /TransferThis/ = 0, QgsCodeEditor::Mode mode = QgsCodeEditor::Mode::ScriptEditor );
%Docstring
Constructor for QgsCodeEditorR
%End
Expand Down
2 changes: 1 addition & 1 deletion src/gui/codeeditors/qgscodeeditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class GUI_EXPORT QgsCodeEditor : public QsciScintilla
*
* \since QGIS 3.30
*/
Mode mode() const { return mMode; }
QgsCodeEditor::Mode mode() const { return mMode; }

protected:

Expand Down
2 changes: 1 addition & 1 deletion src/gui/codeeditors/qgscodeeditorr.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class GUI_EXPORT QgsCodeEditorR : public QgsCodeEditor
public:

//! Constructor for QgsCodeEditorR
QgsCodeEditorR( QWidget *parent SIP_TRANSFERTHIS = nullptr, Mode mode = Mode::ScriptEditor );
QgsCodeEditorR( QWidget *parent SIP_TRANSFERTHIS = nullptr, QgsCodeEditor::Mode mode = QgsCodeEditor::Mode::ScriptEditor );

protected:
void initializeLexer() override;
Expand Down

0 comments on commit 7b84c5c

Please sign in to comment.