diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-01-22 14:59:07 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-01-22 14:59:07 -0600 |
| commit | 7fd81029ce2f67aa7a6555858dfed7d6ac58c4e3 (patch) | |
| tree | 7cfca3567dbd02aee370ffa68e1cff28f4b37b1c /src/organizercore.h | |
| parent | a40613f885c18a8a9f090cd88c595bcb960d97c9 (diff) | |
Reduce file I/O operations when enabling/disabling multiple mods
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index 61020acd..7a62d2c8 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -136,6 +136,7 @@ public: void refreshDirectoryStructure();
void updateModInDirectoryStructure(unsigned int index, ModInfo::Ptr modInfo);
+ void updateModsInDirectoryStructure(QMap<unsigned int, ModInfo::Ptr> modInfos);
void doAfterLogin(const std::function<void()> &function) { m_PostLoginTasks.append(function); }
@@ -238,6 +239,7 @@ public slots: void installDownload(int downloadIndex);
void modStatusChanged(unsigned int index);
+ void modStatusChanged(QList<unsigned int> index);
void requestDownload(const QUrl &url, QNetworkReply *reply);
void downloadRequestedNXM(const QString &url);
@@ -266,6 +268,7 @@ private: bool queryLogin(QString &username, QString &password);
void updateModActiveState(int index, bool active);
+ void updateModsActiveState(const QList<unsigned int> &modIndices, bool active);
bool testForSteam();
|
