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:
parent
cc12601a01
commit
f40e64c2aa
4 changed files with 46 additions and 45 deletions
|
@ -197,6 +197,7 @@ set(companion_MOC_HDRS
|
|||
wizarddialog.h
|
||||
modelprinter.h
|
||||
multimodelprinter.h
|
||||
modelslist.h
|
||||
)
|
||||
|
||||
set(companion_UIS
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue