NOISSUE Comment and bugfix the Resource system

This commit is contained in:
Jan Dalheimer
2015-06-06 12:30:49 +02:00
committed by Petr Mrázek
parent 24db645167
commit 1e51b62c88
12 changed files with 180 additions and 86 deletions

View File

@@ -20,6 +20,7 @@ public:
QVariant data(const QModelIndex &proxyIndex, int role) const override;
void setSourceModel(QAbstractItemModel *model) override;
/// Helper function, usage: m_view->setModel(ResourceProxyModel::mixin<QIcon>(m_model));
template <typename T>
static QAbstractItemModel *mixin(QAbstractItemModel *model)
{