diff options
Diffstat (limited to 'src/pluginlist.h')
| -rw-r--r-- | src/pluginlist.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. #include <QString> #include <QListWidget> +#include <QTimer> #include <vector> #include <directoryentry.h> @@ -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<int> rows, int newPriority); + void startSaveTime(); + private: struct ESPInfo { @@ -212,9 +220,10 @@ private: std::map<QString, int> m_LockedOrder; QString m_CurrentProfile; - mutable bool m_Modified; QFontMetrics m_FontMetrics; + mutable QTimer m_SaveTimer; + }; #endif // PLUGINLIST_H |
