1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-26 17:55:12 +03:00

Added Q_OBJECT to TreeModel and some cosmetics

This commit is contained in:
Damjan Adamic 2017-01-27 20:07:00 +01:00
parent cc12601a01
commit f40e64c2aa
4 changed files with 46 additions and 45 deletions

View file

@ -197,6 +197,7 @@ set(companion_MOC_HDRS
wizarddialog.h
modelprinter.h
multimodelprinter.h
modelslist.h
)
set(companion_UIS

View file

@ -62,11 +62,11 @@ class TreeItem
class TreeModel : public QAbstractItemModel
{
// Q_OBJECT
Q_OBJECT
public:
TreeModel(RadioData * radioData, QObject *parent = 0);
~TreeModel();
virtual ~TreeModel();
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
QVariant headerData(int section, Qt::Orientation orientation,