Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 12, 2021
1 parent d44412d commit 5cb167b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions python/gui/auto_generated/qgssublayersdialog.sip.in
Expand Up @@ -21,34 +21,16 @@ class QgsSublayersDialog : QDialog
%End
public:

enum PromptMode
%Docstring
Prompt behavior of the QgsSublayersDialog

.. deprecated::
Use Qgis.SublayerPromptMode instead
%End
enum PromptMode
{

PromptAlways,
%Docstring
always ask if there are existing sublayers
%End

PromptIfNeeded,
%Docstring
always ask if there are existing sublayers, but skip if there are bands for rasters
%End

PromptNever,
%Docstring
never prompt, will not load anything
%End

PromptLoadAll
%Docstring
never prompt, but load all sublayers
%End
};

enum ProviderType
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgssublayersdialog.h
Expand Up @@ -36,7 +36,7 @@ class GUI_EXPORT QgsSublayersDialog : public QDialog, private Ui::QgsSublayersDi
* Prompt behavior of the QgsSublayersDialog
* \deprecated Use Qgis::SublayerPromptMode instead
*/
Q_DECL_DEPRECATED enum PromptMode
enum Q_DECL_DEPRECATED PromptMode
{

/**
Expand Down

0 comments on commit 5cb167b

Please sign in to comment.