diff --git a/libs/widgets/qcodeedit.h b/libs/widgets/qcodeedit.h index 0e0c4c1..12c993e 100644 --- a/libs/widgets/qcodeedit.h +++ b/libs/widgets/qcodeedit.h @@ -56,13 +56,13 @@ public: }; struct QAD_WIDGETS_EXPORT ACEntry { ACEntry(const QString & t = QString(), const QString & n = QString(), const QString & h = QString()): - type(t), name(n), hint(h) {declaration_pos = -1; custom_data = 0;} + type(t), name(n), hint(h) {declaration_pos = -1;} bool isNull() const {return type.isEmpty() && name.isEmpty();} QString type; QString name; QString hint; int declaration_pos; - void * custom_data; + QVariant custom_data; }; QTextCursor textCursor() const;