diff options
Diffstat (limited to 'launcher/InstanceProxyModel.h')
-rw-r--r-- | launcher/InstanceProxyModel.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/launcher/InstanceProxyModel.h b/launcher/InstanceProxyModel.h deleted file mode 100644 index baf2794b..00000000 --- a/launcher/InstanceProxyModel.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include "groupview/GroupedProxyModel.h" -#include <QCollator> - -/** - * A proxy model that is responsible for sorting instances into groups - */ -class InstanceProxyModel : public GroupedProxyModel -{ -public: - explicit InstanceProxyModel(QObject *parent = 0); - QVariant data(const QModelIndex & index, int role) const override; - -protected: - virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const override; -private: - QCollator m_naturalSort; -}; |