Skip to content

Commit 0ec5dc4

Browse files
committed
sip does not like CORE_EXPORT and Q_OBJECT
1 parent c1bf78e commit 0ec5dc4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python/core/qgsdataitem.sip

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,11 @@ class QgsErrorItem : QgsDataItem
215215

216216
// ---------
217217

218-
class CORE_EXPORT QgsDirectoryParamWidget : public QTreeWidget
218+
class QgsDirectoryParamWidget : public QTreeWidget
219219
{
220-
Q_OBJECT
221-
220+
%TypeHeaderCode
221+
#include <qgsdataitem.h>
222+
%End
222223
public:
223224
QgsDirectoryParamWidget( QString path, QWidget* parent = NULL );
224225

0 commit comments

Comments
 (0)