Declare ResourceId Qt metatype in public header so it's QVariant'able

This commit is contained in:
baldurk
2017-11-14 17:33:02 +00:00
parent 25de6726f6
commit 1776b4e6c0
7 changed files with 8 additions and 10 deletions
-2
View File
@@ -30,8 +30,6 @@
static const int ResourceIdRole = Qt::UserRole;
static const int FilterRole = Qt::UserRole + 1;
Q_DECLARE_METATYPE(ResourceId);
class ResourceListItemModel : public QAbstractItemModel
{
public: