summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-12-20 14:33:08 -0600
committerGitHub <noreply@github.com>2018-12-20 14:33:08 -0600
commited67ac211306bee2067178ace1a0a7fbcd0bea1b (patch)
tree8fe31503ba20a436457c8c94d61f953b4aa067b4 /src/modlist.h
parent2232bdfc779b8575c8374a723d4d02a2b41fb352 (diff)
parent9a33dc148054443cb0efd5916ff758fca5bc09e3 (diff)
Merge pull request #586 from ModOrganizer2/Develop
Release 2.1.6
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modlist.h b/src/modlist.h
index 15376ed5..42269386 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -65,8 +65,9 @@ public:
COL_VERSION,
COL_INSTALLTIME,
COL_PRIORITY,
+ COL_NOTES,
- COL_LASTCOLUMN = COL_PRIORITY
+ COL_LASTCOLUMN = COL_NOTES
};
typedef boost::signals2::signal<void (const QString &, ModStates)> SignalModStateChanged;
@@ -106,6 +107,7 @@ public:
static QString getColumnName(int column);
void changeModPriority(int sourceIndex, int newPriority);
+ void changeModPriority(std::vector<int> sourceIndices, int newPriority);
void setOverwriteMarkers(const std::set<unsigned int> &overwrite, const std::set<unsigned int> &overwritten);
void setPluginContainer(PluginContainer *pluginContainer);
@@ -117,7 +119,7 @@ public:
int timeElapsedSinceLastChecked() const;
- void highlightMods(const QItemSelection &selected, const MOShared::DirectoryEntry &directoryEntry);
+ void highlightMods(const QItemSelectionModel *selection, const MOShared::DirectoryEntry &directoryEntry);
public:
@@ -266,8 +268,6 @@ private:
bool testValid(const QString &modDir);
- void changeModPriority(std::vector<int> sourceIndices, int newPriority);
-
QVariant getOverwriteData(int column, int role) const;
QString getFlagText(ModInfo::EFlag flag, ModInfo::Ptr modInfo) const;