diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-08-05 00:10:33 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-08-05 00:10:33 +0200 |
commit | cf0694a0cb9041c14cc0e06b9495590baacead73 (patch) | |
tree | 45613eaa4dd18165dedef4eed0bb86f9ab863f4c /api/logic/minecraft/ModList.h | |
parent | b76d4573cdaa41a3493596571dbba452ab7a5b2e (diff) | |
download | MultiMC-cf0694a0cb9041c14cc0e06b9495590baacead73.tar MultiMC-cf0694a0cb9041c14cc0e06b9495590baacead73.tar.gz MultiMC-cf0694a0cb9041c14cc0e06b9495590baacead73.tar.lz MultiMC-cf0694a0cb9041c14cc0e06b9495590baacead73.tar.xz MultiMC-cf0694a0cb9041c14cc0e06b9495590baacead73.zip |
NOISSUE allow user to sort mod list by clicking on column headers
Diffstat (limited to 'api/logic/minecraft/ModList.h')
-rw-r--r-- | api/logic/minecraft/ModList.h | 10 |
1 files changed, 1 insertions, 9 deletions
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<Mod> & 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<Mod> mods; }; |