Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix SIP QgsHighlight class declaration
  • Loading branch information
github-actions[bot] authored and nyalldawson committed May 15, 2020
1 parent a3ec675 commit 9a344e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/gui/auto_generated/qgshighlight.sip.in
Expand Up @@ -13,7 +13,7 @@
#include <qgshighlight.h>
%End

class QgsHighlight: QObject, QgsMapCanvasItem
class QgsHighlight : QgsMapCanvasItem
{
%Docstring
A class for highlight features on the map.
Expand Down
6 changes: 6 additions & 0 deletions src/gui/qgshighlight.h
Expand Up @@ -53,8 +53,14 @@ class QgsSymbol;
* highlight.show()
* \endcode
*/
#ifndef SIP_RUN
class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
{
#else
class GUI_EXPORT QgsHighlight : public QgsMapCanvasItem
{
#endif

Q_OBJECT

#ifdef SIP_RUN
Expand Down

0 comments on commit 9a344e0

Please sign in to comment.