Skip to content
Permalink
Browse files

(trying to fix travis build)

  • Loading branch information
olivierdalang committed May 15, 2019
1 parent 5b6dd73 commit 1e5d2f0b7426ff66b793a80486d654102d2de5d8
@@ -59,6 +59,9 @@ Note that the floater may be active but not visible (e.g. if the mouse is not ov
.. versionadded:: 3.8
%End

private:
//! event filter to track mouse position
bool eventFilter( QObject *obj, QEvent *event );
};

/************************************************************************
@@ -118,6 +118,11 @@ class GUI_EXPORT QgsAdvancedDigitizingFloater : public QWidget, private Ui::QgsA
//! Whether the floater is enabled.
bool mActive = false;

private:
#ifdef SIP_RUN
//! event filter to track mouse position
bool eventFilter( QObject *obj, QEvent *event );

This comment has been minimized.

Copy link
@3nids

3nids May 15, 2019

Member

rather than using the #ifdef block, you can use SIP_FORCE (here) in the method declaration.

#endif
};

#endif // QGSADVANCEDDIGITIZINGFLOATER_H

0 comments on commit 1e5d2f0

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