From cf0694a0cb9041c14cc0e06b9495590baacead73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 5 Aug 2016 00:10:33 +0200 Subject: NOISSUE allow user to sort mod list by clicking on column headers --- api/logic/minecraft/ModList.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'api/logic/minecraft/ModList.h') diff --git a/api/logic/minecraft/ModList.h b/api/logic/minecraft/ModList.h index e7267389..1b91764b 100644 --- a/api/logic/minecraft/ModList.h +++ b/api/logic/minecraft/ModList.h @@ -104,13 +104,6 @@ public: return mods; } -private: - void internalSort(QList & what); - struct OrderItem - { - QString id; - bool enabled = false; - }; private slots: void directoryChanged(QString path); @@ -120,8 +113,7 @@ signals: protected: QFileSystemWatcher *m_watcher; - bool is_watching; + bool is_watching = false; QDir m_dir; - QString m_list_id; QList mods; }; -- cgit v1.2.3