diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-08-29 19:35:41 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-08-29 19:35:41 +0200 |
| commit | 3729f18af1ee2a84756eb729e2f2b8343c51c24a (patch) | |
| tree | b03b2d98dfdda0c19de1626d06dbe34c5407600f /src/modlist.h | |
| parent | fd86000f1e6a5691d23a2faa71f8d0773a425fee (diff) | |
Update for change to onModStateChanged.
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modlist.h b/src/modlist.h index a054677b..5312db34 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -70,7 +70,7 @@ public: COL_LASTCOLUMN = COL_NOTES,
};
- typedef boost::signals2::signal<void (const QString &, ModStates)> SignalModStateChanged;
+ typedef boost::signals2::signal<void (const std::map<QString, ModStates>&)> SignalModStateChanged;
typedef boost::signals2::signal<void (const QString &, int, int)> SignalModMoved;
public:
@@ -156,7 +156,7 @@ public: virtual bool setPriority(const QString &name, int newPriority) override;
/// \copydoc MOBase::IModList::onModStateChanged
- virtual bool onModStateChanged(const std::function<void (const QString &, ModStates)> &func) override;
+ virtual bool onModStateChanged(const std::function<void(const std::map<QString, ModStates>&)>& func) override;
/// \copydoc MOBase::IModList::onModMoved
virtual bool onModMoved(const std::function<void (const QString &, int, int)> &func) override;
|
