From e0eb97922d5ef4a1448e76f13374ebfda7fda403 Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 27 Mar 2013 20:48:33 +0100 Subject: - added hooks for getFileVersion* functions - automatic donwload retry - support for storing multiple download urls - improved "query info" functionality - some cleanup to download manager code - external fomod installer dialog are now brought to front - added shell... functions to have windows handle problematic situations - added visual clue when filters are active - esps are now automatically activated when installing a mod - added option to never endorse a mod - added "previous" and "next" buttons to mod info dialog - improved the way messagedialog text is shortened - coloring in mod info dialog now visible in other color schemes - plugin list is now saved automatically - vanilla bsas are now enabled even if they are not listed in the ini file - bugfix: setting mod to maximum now doesn't try to place the mod below overwrite --- src/pluginlist.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/pluginlist.h') diff --git a/src/pluginlist.h b/src/pluginlist.h index a46fd4d5..d2d699d5 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -22,6 +22,7 @@ along with Mod Organizer. If not, see . #include #include +#include #include #include @@ -162,6 +163,11 @@ signals: **/ void esplist_changed(); + /** + * @brief emitted when the plugin list should be saved + */ + void saveTimer(); + private: void refreshLoadOrder(); @@ -175,6 +181,8 @@ private: void setPluginPriority(int row, int &newPriority); void changePluginPriority(std::vector rows, int newPriority); + void startSaveTime(); + private: struct ESPInfo { @@ -212,9 +220,10 @@ private: std::map m_LockedOrder; QString m_CurrentProfile; - mutable bool m_Modified; QFontMetrics m_FontMetrics; + mutable QTimer m_SaveTimer; + }; #endif // PLUGINLIST_H -- cgit v1.3.1