diff options
| author | Tannin <devnull@localhost> | 2013-10-11 23:03:49 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-11 23:03:49 +0200 |
| commit | 382226bb46541f07e62ce689cfeaf395aa673a44 (patch) | |
| tree | 97e35547f78524c6291906ce19c94699436b39b0 /src/settings.cpp | |
| parent | cffd9eb4e21f0ddcddca68d8eb0f1c80c8ac6ae1 (diff) | |
- added new plugin to test if fnis needs to be run
- some functionality to the plugin interface to enable them to search for files&directories in the virtual FS (rudimentary atm)
- functionality for plugins to react to application being started from MO
- broken ESPs are no longer reported as popup windows but only in the log file
- bugfix: plugins couldn't store persistent data if they had no user-editable settings
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 42a8d693..4f301b0c 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -105,6 +105,7 @@ bool Settings::pluginBlacklisted(const QString &fileName) const void Settings::registerPlugin(IPlugin *plugin) { m_Plugins.push_back(plugin); + m_PluginSettings.insert(plugin->name(), QMap<QString, QVariant>()); foreach (const PluginSetting &setting, plugin->settings()) { QVariant temp = m_Settings.value("Plugins/" + plugin->name() + "/" + setting.key, setting.defaultValue); if (!temp.convert(setting.defaultValue.type())) { |
