From 0feb4b702d8a9eb1465c79c49ada5de01b67083d Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 8 Jun 2014 15:10:08 +0200 Subject: - loot client now only updates the masterlist once per MO session - new event to notify plugins of changed mod priority - overwrite now shows up in the "checked" category instead of "unchecked" - display of "foreign" mods can now be limited to only official content - bugfix: bsa extraction dialog showed up even if the plugin was disabled - bugfix: after detection of foreign mods the priority of the overwrite folder could get messed up - bugfix: when displaying only the context menu for the mod list as a whole, the menu didn't disappear - bugfix: MO crashed when trying to download via the integrated browser --- src/modlist.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/modlist.h') diff --git a/src/modlist.h b/src/modlist.h index e0bc9df9..b946e009 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -62,6 +62,7 @@ public: }; typedef boost::signals2::signal SignalModStateChanged; + typedef boost::signals2::signal SignalModMoved; public: @@ -113,6 +114,9 @@ public: /// \copydoc MOBase::IModList::onModStateChanged virtual bool onModStateChanged(const std::function &func); + /// \copydoc MOBase::IModList::onModMoved + virtual bool onModMoved(const std::function &func); + public: // implementation of virtual functions of QAbstractItemModel virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; @@ -276,11 +280,8 @@ private: TModInfoChange m_ChangeInfo; SignalModStateChanged m_ModStateChanged; + SignalModMoved m_ModMoved; - - // QAbstractItemModel interface - - // IModList interface }; #endif // MODLIST_H -- cgit v1.3.1